Site map
Home Documentation Download Links
|
|
Table of Contents
Views
View
Concept
Single Container View Concept
Dual Container View Concept
Single Container Views
Filter View presenting only elements for which a
specified predicate is true.
Transform View presenting the elements transformed by a
specified transformation.
- Flagged Filter View presenting only elements for
which the corresponding flag in a flag container is true.
Polymorphic View dereferences the given container's
elements thus presenting references to elements when the
container contains pointers to them.
Downcast
View presenting references to only the elements
of a given subclass of a container containing pointers to
polymorphic elements.
Unique
View presenting only the first of each sequence
of equal elements (comparable to UNIX uniq command).
Reverse View presenting
the container reversed.
Window View presenting a
sliding window into the container.
Single Container Views for Pair Associative Containers.
Map keys presenting the
keys of a Pair
Associative Container.
Map keys filtered view
presenting the filtered keys of a Pair
Associative Container.
Map keys
transformed view presenting the transformed keys of a Pair
Associative Container
Map keys view
presenting the filtered and transformed keys of a Pair
Associative Container
Map values presenting the
values of a Pair
Associative Container.
Map values filtered
view presenting the filtered values of a Pair
Associative Container.
Map values
transformed view presenting the transformed values of a
Pair Associative
Container.
Map values view
presenting the filtered and transformed values of a Pair
Associative Container.
Dual Container Views
Zip
View presenting pairs (a,b) of corresponding
elements a and b of two specified contaieners.
Crossproduct
View presenting all possible pairs (a,b) for
elements a and b of two specified containers.
Union
View presenting two containers concatenated.
Concatenation View
presenting a collection of containers concatenated.
Views acting on sorted containers
Pair Merge View
combining pairs of corresponding elements a and b of two
specified sorted containers.
Set Union View
presenting the sorted union of two sorted containers.
Set Intersection
View presenting the sorted intersection of two sorted
containers.
Set Difference View
presenting the sorted set difference of two sorted
containers.
Set
Symmetrical Difference View presenting the sorted set
symmetrical difference of two sorted containers.
Dual Container Views for unsorted containers.
Difference View
presenting the difference of two containers.
Intersection View
presenting the intersection of two containers.
Symmetrical
Difference View presenting the symmetrical difference of
two containers.
Views working on ranges
Range View constructing a
view from a range [first, last).
Rotate View presenting a
shifted and wrapped view onto a range [first, last).
Utilities
Tag Classes
Const
View Tag denoting a view should be immutable.
Mutable View Tag
denoting a view should be mutable.
Traits Classes
deconst_traits
removing const specifiers from types
const_traits get const
specifiers from types
pointer_traits get
pointer specifiers from types
reference_traits
get reference specifiers from types
dereference_traits
get dereference specifiers from types
Functors
dereference
dereferencing it's argument
is_nonzero comparing it's
argument with zero
|