#8717 closed Bugs (fixed)
Please make the library work on exception-disabled environments
Reported by: | Owned by: | Antony Polukhin | |
---|---|---|---|
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 (1)
Change History (6)
by , 9 years ago
Attachment: | boost_variant.patch added |
---|
comment:1 by , 9 years ago
Cc: | added |
---|
comment:2 by , 9 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
comment:3 by , 9 years ago
comment:4 by , 9 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
(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 by , 9 years ago
Milestone: | To Be Determined → Boost 1.55.0 |
---|
Note:
See TracTickets
for help on using tickets.
(In [85081]) Make Boost.Variant work on exception-disabled environments (refs #8717)