back_inserter_second_element< Container, Pair > Struct Template Reference
|
CPP API
|
mio::back_inserter_second_element< Container, Pair > Struct Template Reference
Back inserter that ignores the first element of pairs given to it. More...
#include <back_inserter_second_element.h>
Public Member Functions | |
| back_inserter_second_element & | operator* () |
| back_inserter_second_element & | operator++ () |
| back_inserter_second_element | operator++ (int) |
| back_inserter_second_element & | operator= (const Pair &pair) |
Public Attributes | |
| Container & | container |
Detailed Description
template<class Container, class Pair>
struct mio::back_inserter_second_element< Container, Pair >
Back inserter that ignores the first element of pairs given to it.
Has the same member functions and objects as a std::back_insert_iterator.
- Template Parameters
-
Container Any container that supports push_back. Its stored type is usually the same as the second member of Pair. Pair A std::pair. Its first member is ignored by this inserter.
Member Function Documentation
◆ operator*()
template<class Container , class Pair >
|
inline |
◆ operator++() [1/2]
template<class Container , class Pair >
|
inline |
◆ operator++() [2/2]
template<class Container , class Pair >
|
inline |
◆ operator=()
template<class Container , class Pair >
|
inline |
Member Data Documentation
◆ container
template<class Container , class Pair >
| Container& mio::back_inserter_second_element< Container, Pair >::container |
Generated by