[ub] Proposal: make self-initialized references ill-formed (C++17?)

David Krauss david_work at me.com
Tue Sep 23 05:03:55 CEST 2014


On 2014–09–23, at 12:02 AM, Jens Maurer <Jens.Maurer at gmx.net> wrote:

> So, something like the following would be ill-formed?
…
> That seems unimplementable, because order-of-initialization
> for global variables is unspecified between translation units.

I think what we’re fishing for is ODR-use and ill-formed/NDR.



More information about the ub mailing list