Return the associated allocator. This function returns an instance of @ref allocator_type constructed from the associated @ref boost::container::pmr::memory_resource. @par Complexity Constant. @par Exception Safety No-throw guarantee. */
| 554 | No-throw guarantee. |
| 555 | */ |
| 556 | allocator_type |
| 557 | get_allocator() const noexcept |
| 558 | { |
| 559 | return sp_.get(); |
| 560 | } |
| 561 | |
| 562 | //------------------------------------------------------ |
| 563 | // |