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

Standardizing Variant: Difficult Decisions

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

56 comments sorted by

View all comments

Show parent comment

1

u/Shokwav Jun 19 '15

I've written one when I had to pass the address of an object to a legacy C function and couldn't modify it after initialization. But that's a rare case...