| 421 | */ |
| 422 | template<class U, class... Args> |
| 423 | storage_ptr |
| 424 | make_shared_resource(Args&&... args) |
| 425 | { |
| 426 | // If this generates an error, it means that |
| 427 | // `T` is not a memory resource. |
| 428 | BOOST_CORE_STATIC_ASSERT(( |
| 429 | std::is_base_of<container::pmr::memory_resource, U>::value)); |
| 430 | return storage_ptr(new |
| 431 | detail::shared_resource_impl<U>( |
| 432 | std::forward<Args>(args)...)); |
| 433 | } |
| 434 | #if defined(_MSC_VER) |
| 435 | # pragma warning( pop ) |
| 436 | #endif |
nothing calls this directly
no test coverage detected