Boost
C++ Libraries
...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
You've currently chosen the 1.91.0 version. If a newer release comes out, you will continue to view the 1.91.0 version, not the new latest release.
boost::container::make_obj_using_allocator
// In header: <boost/container/uses_allocator_construction.hpp> template<typename T, typename AllocArg, class... Args> T make_obj_using_allocator(AllocArg && alloc_arg, Args &&... args);
Effects: eates an object of the given type T by means of uses-allocator construction (see uses_allocator), where:
alloc_arg is the allocator argument whose type AllocArg will be used to evaluate uses_allocator<T, AllocArg>::value
args are the arguments to pass to T's constructor.
Returns: The newsly created object of type T
Throws: Any exception thrown by the constructor of T.