View Template Library


mutable_view_tag

Category: Utilities

Component type: type

Description

mutable_view_tag is an empty class: it has no member functions, member variables, or nested types. It is used solely as a "tag": a concept within the C++ type system. Specifically, it is used as argument to a view template to determin whether the container is to be modifible by the view or not. Its existence allows us to specialize the view_traits<> class to generate the appropriate typedefs for the view iterators and view domain types.

Example

filter_view< vector, bool(*)(int const &),mutable_view_tag> x;

Definition

Defined in view_base.h

Template parameters

None.

Model of

Assignable

Type requirements

None.

Public base classes

None.

Members

None.

New Members

None.

Notes

See also

const_view_tag


VTL Home
Copyright © 1999 Konrad-Zuse-Zentrum für Informationstechnik Berlin & Gary Powell All Rights Reserved.