Opened 12 years ago

Closed 4 years ago

#5394 closed Bugs (fixed)

assign not compile with exceptions off

Reported by: anonymous Owned by: James E. King, III
Milestone: Boost 1.67.0 Component: assign
Version: Boost 1.47.0 Severity: Problem
Keywords: assign exceptions Cc:

Description

boost/assign.hpp includes boost/assign/list_of.hpp

which uses throw (instead of boost::throw_exception as it should)

with exceptions off, you cannot use throw(), try, catch, etc., hence BOOST_TRY, BOOST_CATCH, BOOST_RETHROW

Change History (4)

comment:1 by Thorsten Ottosen, 12 years ago

But list_of using e.g. std::deque<T> which we have no control over. Or do you just use ref_list_of()?

regards

-Thorsten

comment:2 by viboes, 9 years ago

Severity: ShowstopperProblem

comment:3 by James E. King, III, 4 years ago

Owner: changed from Thorsten Ottosen to James E. King, III

comment:4 by James E. King, III, 4 years ago

Milestone: To Be DeterminedBoost 1.67.0
Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.