4.3.0
|
|
Freundlich's C++ toolkit |
The result type of fcppt::container::get_or_insert_with_result.
Public Member Functions | |
get_or_insert_result (Reference, bool) | |
template<typename Other > | |
get_or_insert_result (get_or_insert_result< Other > const &) | |
Reference | element () const |
A reference to the element in the container. More... | |
bool | inserted () const |
Tells if the element was inserted. More... | |
fcppt::container::get_or_insert_result< Reference >::get_or_insert_result | ( | Reference | , |
bool | |||
) |
|
explicit |
Reference fcppt::container::get_or_insert_result< Reference >::element | ( | ) | const |
A reference to the element in the container.
bool fcppt::container::get_or_insert_result< Reference >::inserted | ( | ) | const |
Tells if the element was inserted.
true
if the element was inserted, false
if it was found.