Opened 14 years ago

Closed 14 years ago

#2194 closed Bugs (fixed)

Unprotected try/catch in weak_ptr.hpp

Reported by: Stéphanie Rancourt <srancourt@…> Owned by: Peter Dimov
Milestone: Boost 1.36.0 Component: smart_ptr
Version: Boost 1.35.0 Severity: Problem
Keywords: weak_ptr try catch Cc:

Description

There is a try/catch in weak_ptr.hpp that will fail compilation if exceptions are disabled. It should use BOOST_TRY/BOOST_CATCH/BOOST_CATCH_END

Attachments (1)

wp.patch (822 bytes ) - added by Stéphanie Rancourt <srancourt@…> 14 years ago.

Download all attachments as: .zip

Change History (3)

by Stéphanie Rancourt <srancourt@…>, 14 years ago

Attachment: wp.patch added

comment:1 by Peter Dimov, 14 years ago

There isn't in 1.36. See source:trunk/boost/weak_ptr.hpp and source:branches/release/boost/weak_ptr.hpp.

comment:2 by Peter Dimov, 14 years ago

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