#include <Range_fwd.hpp>
This class represents a non contiguous view to a Range, allowing for read-only operations.
Definition at line 102 of file Range_fwd.hpp.
Collaboration diagram for mm::Range< T, Allocator >::ConstRangeView:Public Member Functions | |
| ConstRangeView (ConstRangeView &)=delete | |
| Disallow copying. More... | |
| ConstRangeView (ConstRangeView &&)=delete | |
| Disallow moving. More... | |
| ConstRangeView & | operator= (ConstRangeView &)=delete |
| Disallow copying. More... | |
| ConstRangeView & | operator= (ConstRangeView &&)=delete |
| Disallow moving. More... | |
| Range< T > | asRange () const |
| Cast to underlying container type. More... | |
| const_reference | operator[] (size_type i) const |
| Read access to sub-container elements. More... | |
| size_type | size () const |
| Size of the sub-container. More... | |
Friends | |
| class | Range |
| std::ostream & | operator<< (std::ostream &os, const ConstRangeView &c) |
| Output a ConstRangeView. More... | |
Private Member Functions | |
| ConstRangeView (const Range< T > &receiver_, const indexes_t &modifier_) | |
| Constructor. More... | |
Private Attributes | |
| const Range< T > & | receiver |
| Reference to object we are viewing. More... | |
| const indexes_t & | modifier |
| List of indexes of elements to modify. More... | |
|
inlineprivate |
Constructor.
Definition at line 107 of file Range_fwd.hpp.
|
delete |
Disallow copying.
|
delete |
Disallow moving.
|
inline |
Cast to underlying container type.
Definition at line 117 of file Range_fwd.hpp.
|
delete |
Disallow moving.
|
delete |
Disallow copying.
|
inline |
Read access to sub-container elements.
Definition at line 125 of file Range_fwd.hpp.
|
inline |
Size of the sub-container.
Definition at line 128 of file Range_fwd.hpp.
|
friend |
Output a ConstRangeView.
Definition at line 133 of file Range_fwd.hpp.
|
private |
List of indexes of elements to modify.
Definition at line 104 of file Range_fwd.hpp.
|
private |
Reference to object we are viewing.
Definition at line 103 of file Range_fwd.hpp.