4.6.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. | |
bool | inserted () const |
Tells if the element was inserted. | |
fcppt::container::get_or_insert_result< Reference >::get_or_insert_result | ( | Reference | , |
bool | ) |
|
explicit |
|
nodiscard |
A reference to the element in the container.
|
nodiscard |
Tells if the element was inserted.
true
if the element was inserted, false
if it was found.