[cxx-abi-dev] Passing non-trivial types through ...
Dennis Handly
dhandly at cup.hp.com
Thu Aug 21 03:45:47 UTC 2014
>From: John McCall <rjmccall at apple.com>
>Oh, yes, thats definitely a language requirement: you cant outright reject
>this construct if its not potentially-evaluated. A lot of template
>metaprogramming tricks rely on overloads like this. But it doesnt affect
>whether you consider it undefined behavior when it *isnt* potentially
>evaluated.
It turns out we fixed the compiler long ago to not warn for sizeof.
So that leaves me with no bug test cases of a customer using it.
But that's only negative evidence.
More information about the cxx-abi-dev
mailing list