6 Nov
2011
6 Nov
'11
4:33 a.m.
AMDG On 11/05/2011 08:03 PM, Nathan Ridge wrote:
which() is a public member function of variant, but I don't see any mention of it in the documentation.
http://www.boost.org/doc/libs/1_47_0/doc/html/boost/variant.html#id1044025-b...
Can I assume this is part of the public API (i.e. it won't go away, won't change its behaviour in future releases) or not?
(For example, I am writing a function to serialize a variant and thinking that one implementation might be to write the which() followed by the object).
In Christ, Steven Watanabe