r/cpp • u/_VZ_ wx | soci | swig • Jun 17 '15
Standardizing Variant: Difficult Decisions
https://www.justsoftwaresolutions.co.uk/cplusplus/standardizing-variant.html
32
Upvotes
r/cpp • u/_VZ_ wx | soci | swig • Jun 17 '15
View all comments
Show parent comment
3
u/STL MSVC STL Dev Jun 19 '15
The node-based containers can be implemented with dynamically allocated (Dinkumware/VC) or container-internal (libstdc++, libc++) sentinel nodes. While container-internal sentinel nodes avoid allocating in default/move ctors, they sacrifice iterator stability guarantees.