Opened 8 years ago

Closed 5 years 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 by Antony Polukhin, 5 years ago

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

comment:2 by Antony Polukhin, 5 years ago

Fixed by Mikhail Maximov in PR35.

comment:3 by Antony Polukhin, 5 years ago

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