Pool memory and std::forward_list

490 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 answers

2
Howard Hinnant 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.