Modify

Ticket #8717 (closed Bugs: fixed)

Opened 10 months ago

Last modified 9 months ago

Please make the library work on exception-disabled environments

Reported by: Adam Romanek <romanek.adam@…> Owned by: apolukhin
Milestone: Boost 1.55.0 Component: variant
Version: Boost 1.53.0 Severity: Problem
Keywords: Cc: antoshkka@…

Description

Please make boost::variant work on exception-disabled environments.

The problem is that boost::variant uses raw 'throw' and 'try/catch' keywords which make using the library on exception-disabled environments impossible.

The attached patch for v1.53.0 switches to boost::throw_exception() and Boost's macros for try / rethrow / catch.

Attachments

boost_variant.patch Download (5.4 KB) - added by Adam Romanek <romanek.adam@…> 10 months ago.

Change History

Changed 10 months ago by Adam Romanek <romanek.adam@…>

comment:1 Changed 10 months ago by apolukhin

  • Cc antoshkka@… added

comment:2 Changed 9 months ago by apolukhin

  • Owner changed from ebf to apolukhin
  • Status changed from new to assigned

comment:3 Changed 9 months ago by apolukhin

(In [85081]) Make Boost.Variant work on exception-disabled environments (refs #8717)

comment:4 Changed 9 months ago by apolukhin

  • Status changed from assigned to closed
  • Resolution set to fixed

(In [85157]) Merge from trunk:

  • make the library work on exception-disabled environments (fixes #8717)
  • fix compilation of Boost.Variants move assignment for situations when one of the variant template classes has nothrow copy constructor and throwing move constructor (fixes #8772)
  • mark move constructor of variant with BOOST_NOEXCEPT_IF (refs #7911)

comment:5 Changed 9 months ago by apolukhin

  • Milestone changed from To Be Determined to Boost 1.55.0
View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.