|
Boost : |
From: rob.vugts_at_[hidden]
Date: 2000-09-12 19:51:04
Why are all exceptions in the boost libraries defined in the boost
namespace, rather than in the scope of the class from which they
can be raised, i.e. why is the 'singleton_not_instantiated' exception
in the singleton library not defined as a nested class of the class
'singleton' ?
It seems to me that using 'boost::singleton::not_instantiated' is much
neater than 'boost::singleton_not_instantiated'. Or is there maybe
a practical reason for doing it this way ?
Thanks,
Rob
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk