Boost logo

Boost Users :

Subject: Re: [Boost-users] [Variant] Minimum implementation to be variant friendly
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2018-11-13 00:34:55


On Mon, Nov 12, 2018 at 7:24 PM Edward Diener via Boost-users
<boost-users_at_[hidden]> wrote:
>
> On 11/12/2018 7:12 PM, Michael Powell via Boost-users wrote:
> > Hello,
> >
> > What's the minimum implementation a struct needs to fulfill in order
> > to be boost::variant friendly? Things like, does it need to support
> > perfect forwarding? An assignment operator? And so on.
>
> What do you mean by "boost::variant friendly" ?

What else would it mean? Absent errors and so forth. What is the
minimum implementation footprint that a struct (or class) need to
implement?

> > Thanks!
> >
> > Michael Powell
> >
>
>
> _______________________________________________
> Boost-users mailing list
> Boost-users_at_[hidden]
> https://lists.boost.org/mailman/listinfo.cgi/boost-users


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