Opened 4 years ago

Closed 12 months ago

#10041 closed Bugs (fixed)

[variant] make_variant_over requires Front Extensible Sequence

Reported by: o0o0@… Owned by: Antony Polukhin
Milestone: Boost 1.65.0 Component: variant
Version: Boost 1.55.0 Severity: Problem
Keywords: Cc:

Description

When trying to compile

typedef boost::mpl::set2< std::string, int > types;
boost::make_variant_over< types >::type v1;

MPL compile-time assertion notifies about missing push_front specialization. At least documentation should be refined. Now is says Sequence is any type fulfilling the requirements of MPL's Sequence concept. But probably code may be changed for more general solution.

Change History (3)

comment:1 Changed 14 months ago by Antony Polukhin

Milestone: To Be DeterminedBoost 1.65.0
Owner: changed from ebf to Antony Polukhin
Status: newassigned

comment:2 Changed 14 months ago by Antony Polukhin

Fixed by Mikhail Maximov in PR35.

comment:3 Changed 12 months ago by Antony Polukhin

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.