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. */
| 448 | No-throw guarantee. |
| 449 | */ |
| 450 | allocator_type |
| 451 | get_allocator() const noexcept |
| 452 | { |
| 453 | return sp_.get(); |
| 454 | } |
| 455 | |
| 456 | //------------------------------------------------------ |
| 457 | // |