...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
boost::container::insert_return_type_base
// In header: <boost/container/node_handle.hpp> template<typename Iterator, typename NodeType> struct insert_return_type_base { // public member functions insert_return_type_base(); insert_return_type_base(insert_return_type_base &&); template<typename RelatedIt, typename RelatedNode> insert_return_type_base(bool, RelatedIt, RelatedNode &&); insert_return_type_base & operator=(insert_return_type_base &&); // public data members bool inserted; Iterator position; NodeType node; };
A class template used to describe the results of inserting a Container::node_type in a Container with unique keys. Includes at least the following non-static public data members:
bool inserted;
Iterator position;
NodeType node
This type is MoveConstructible, MoveAssignable, DefaultConstructible, Destructible, and lvalues of that type are swappable
insert_return_type_base
public member functionsinsert_return_type_base();
insert_return_type_base(insert_return_type_base && other);
template<typename RelatedIt, typename RelatedNode> insert_return_type_base(bool insert, RelatedIt it, RelatedNode && n);
insert_return_type_base & operator=(insert_return_type_base && other);