Opened 5 years ago

Last modified 5 years ago

#13161 new Bugs

Optional vector assignment regression

Reported by: popizdeh@… Owned by: Fernando Cacciola
Milestone: To Be Determined Component: optional
Version: Boost 1.63.0 Severity: Regression
Keywords: Cc:

Description

boost::optional<std::vector<int>> v;
v = { 1, 3 };

Assignment doesn't compile anymore. It worked in 1.62 and reports an error in 1.63. I think it has to do with the addition of BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX but I could be wrong.

Change History (1)

comment:1 by anonymous, 5 years ago

Component: Noneoptional
Owner: set to Fernando Cacciola
Note: See TracTickets for help on using tickets.