Boost logo

Boost Users :

Subject: [Boost-users] Boost 1.47 and exception_ptr
From: Travis Gockel (travis_at_[hidden])
Date: 2011-10-28 14:02:38


I'm working on upgrading from Boost 1.46.1 to 1.47 and having one tiny
little problem with exception_ptr. Currently, some of my systems keep an
exception_ptr around to denote if they have a "current exception" or not.
 At times, we need to "clear" the current exception (it was resolved or
whatever), which we used to do by calling ex->reset(). However, as of 1.47,
excecption_ptr is no longer just a shared_ptr, so reset() has gone away.
 What is the new preferred way of getting this old functionality? I can't
seem to find the way in the source.

-- 
Travis Gockel
C++ Pirate


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net