Should _GLIBCXX_DEBUG affect tr1/array?

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Jan 17 15:30:00 GMT 2012


On Tue, Jan 17, 2012 at 6:23 AM, Jonathan Wakely <jwakely.gcc@gmail.com> wrote:

> I'm surprised that you can throw a non-literal type (i.e. one without
> a constexpr constructor) from a constexpr function, but apparently
> it's OK.

the throw expression is never executed (at compile-time) so there is
no reason to require literal types.



More information about the Libstdc++ mailing list