I would create a memory pool for the node of a C++11 forward_list
.
Is it possible use the BOOST pool memory with std::forward_list
?
I would create a memory pool for the node of a C++11 forward_list
.
Is it possible use the BOOST pool memory with std::forward_list
?
This stack-overflow answer provides source code for a C++11-conforming pool allocator that will work with any C++11-conforming container, including std::forward_list
.