#include <boost/container/detail/config_begin.hpp>
#include <boost/container/detail/workaround.hpp>
#include <boost/container/detail/auto_link.hpp>
+#include <boost/container/container_fwd.hpp>
#include <boost/container/pmr/memory_resource.hpp>
#include <boost/container/detail/block_slist.hpp>
: public memory_resource
{
block_slist m_memory_blocks;
- void* m_current_buffer;
+ void * m_current_buffer;
std::size_t m_current_buffer_size;
std::size_t m_next_buffer_size;
+ void * const m_initial_buffer;
+ std::size_t const m_initial_buffer_size;
/// @cond
void increase_next_buffer();
std::size_t remaining_storage(std::size_t alignment = 1u) const BOOST_NOEXCEPT;
//! <b>Returns</b>:
- //! The number of bytes of storage available for the specified alignment.
+ //! The address pointing to the start of the current free storage.
//!
//! <b>Note</b>: Non-standard extension.
const void *current_buffer() const BOOST_NOEXCEPT;