0

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?

TemplateRex
  • 67,479
  • 19
  • 160
  • 290

1 Answers1

2

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.

Community
  • 1
  • 1
Howard Hinnant
  • 192,948
  • 49
  • 425
  • 554