mirror of https://github.com/CGAL/cgal
If Boost implementation of thread local storage is used, the order of destructors is reversed, compared to C++11 `static thread_local`. The solution for CORE `MemoryPool<T>` is to make the static variable a static member of the class, and initialize the pointer only inside the function. That ensures that the destructor will be called after the destructor of local static variables. |
||
|---|---|---|
| .. | ||
| CGAL | ||