11 Aug
2009
11 Aug
'09
6:33 a.m.
On Mon, Aug 10, 2009 at 9:45 PM, Robert Ramey
Emil Dotchevski wrote:
On Mon, Aug 10, 2009 at 5:37 PM, Gennadiy Rozental
wrote: Does this require some kind of RTTI?
Some kind, yes, to provide type safety. If the built-in RTTI is disabled, Boost Exception uses the same workaround used by shared_ptr.
I'm curious as to what the statement above refers to. I don't remember anything in the shared_ptr documentation which refers to that.
It isn't a documented feature, it's only used internally by both libraries. See boost/detail/sp_typeinfo.hpp, and boost/exception/detail/type_info.hpp. Emil Dotchevski Reverge Studios, Inc. http://www.revergestudios.com/reblog/index.php?n=ReCode