Pool memory and std::forward_list

468 Views Asked by At

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?

1

There are 1 best solutions below

2
On

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.