Subject: [Boost-users] [optional] How to make boost::optional throw if trying to access uninitialized value
From: dariomt_at_[hidden]
Date: 2009-07-09 13:13:11


Hi list,

I've seen in the docs that boost::optional asserts if you try to access an
uninitialized value.

Is it possible to make it throw an exception instead? Even in release mode?

TIA