...one of the most highly
regarded and expertly designed C++ library projects in the
world.
— Herb Sutter and Andrei
Alexandrescu, C++
Coding Standards
Return a pointer to the null resource.
Defined in header <boost/json/null_resource.hpp>
boost::container::pmr::memory_resource
*
get_null_resource() noexcept;
This memory resource always throws the exception std::bad_alloc
in calls to allocate
.
Constant.
No-throw guarantee.
Convenience header <boost/json.hpp>