Subject: Re: [Boost-users] [Variant] Minimum implementation to be variant friendly
From: Gavin Lambert (boost_at_[hidden])
Date: 2018-11-13 00:35:00


On 13/11/2018 13:12, Michael Powell wrote:
> 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.

https://www.boost.org/doc/libs/1_68_0/doc/html/variant/reference.html#variant.concepts.bounded-type