This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Should _GLIBCXX_DEBUG affect tr1/array?


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]