r/cpp • u/_VZ_ wx | soci | swig • Jun 17 '15
Standardizing Variant: Difficult Decisions
https://www.justsoftwaresolutions.co.uk/cplusplus/standardizing-variant.html
31
Upvotes
r/cpp • u/_VZ_ wx | soci | swig • Jun 17 '15
View all comments
Show parent comment
1
u/TiagoRabello Jun 18 '15 edited Jun 18 '15
AFAIK, some node-based containers require allocation of sentinel nodes even for the empty state and as such may throw while making the moved from variable destructible. Maybe /u/STL can give us more insight into the problem.