r/cpp • wx | soci | swig • Jun 17 '15

Standardizing Variant: Difficult Decisions

https://www.justsoftwaresolutions.co.uk/cplusplus/standardizing-variant.html
34 Upvotes

56 comments sorted by

View all comments

Show parent comment

3

u/eric_niebler Jun 17 '15

For rather obscure reasons having to do with sentinel nodes and iterator invalidation, the node-based containers (list, map, etc.) have potentially throwing move constructors.