C++ Logo

std-proposals

Advanced search

Re: std::variant - going from Alternative& to the enclosing variant&

From: Victor Khomenko <victor.khomenko_at_[hidden]>
Date: Tue, 15 Sep 2020 12:16:42 +0000
> One important thing, if this tag have variant inside it, then it should be
> tempted by it like:
> ```
> template<typename Var, size_t Index>
> struct variant_tag

True - I expect we'll need to include a prototype implementation (e.g. on the basis of existing std::variant) into the proposal, so should catch bugs like this.
 

Received on 2020-09-15 07:16:48