Re: [Stlport-devel] RTTI
Brought to you by:
complement
From: <fra...@fr...> - 2007-11-01 21:23:33
|
I don't know for exceptions but I am sure that has_facet/use_facet do not need it. I already built and run unit test with the --no-rtti configure option with success but unit tests are far from covering all use cases. Ulrich Eckhardt wrote: > On Wednesday 31 October 2007, François Dumont wrote: > >> I would be interested to know what Standard feature is hard to >> implement without rtti. The only reason I have created the --no-rtti >> configure option is to make library generation more flexible. If one day >> I have time to support the bjam build system, it is the kind of option >> this tool also offer. >> > > I think that RTTI and the functionality to find the right catch handler for a > thrown exception partially overlap. Some compilers thus can't properly > support exceptions without RTTI, but that is not guaranteed. Other than that, > I am not aware of any part of the standardlibrary using RTTI. The only part I > would check is is has_facet/use_facet, I'm not 100% sure if those don't use > dynamic_cast. > > Uli > > |