Boost logo

Boost :

From: Emil Dotchevski (emildotchevski_at_[hidden])
Date: 2006-11-14 03:03:13


I found a subtle bug regarding exception::what(). I remember fixing this
same bug once when it was pointed to me after the preliminary submission of
Boost Exception few months ago. Aparently the fix got lost somehow!

The what() function uses lazy initialization to cache the string it returns.
The object that caches the returned value was not cleared (as it should be)
if the exception object is later modified. It now works correctly.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk