Boost logo

Boost Users :

Subject: Re: [Boost-users] [variant] is the which() function part of variant's public API?
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2011-11-06 00:33:53


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-bb

> 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


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net