No, that's still the case, just getting confused by the need to also support constant initialization of non-literal types.
Gabriel Dos Reis <g...@integrable-solutions.net> wrote: On Sun, Jun 26, 2011 at 9:00 AM, Jason Merrill <ja...@redhat.com> wrote: > The constant expression evaluation code was happily replacing an expression > involving a temporary with its constant value even if the temporary had a > destructor that needed to be run. I thought we wanted literal types to have trivial destructor; did that change? -- Gaby