C++ const expression are not that const after all
H. S. Teoh via Digitalmars-d
digitalmars-d at puremagic.com
Mon Apr 27 19:45:19 PDT 2015
On Tue, Apr 28, 2015 at 02:24:01AM +0000, deadalnix via Digitalmars-d wrote:
> Interesting read, and the conclusion beg the question: why using a
> sublanguage for const expression, if it do not provides the guarantee
> it is supposed to.
>
> http://b.atch.se/posts/non-constant-constant-expressions/
Whoa. This is gonna give me nightmares tonight... that is absolutely
insane. Yet another proof that something is fundamentally screwed up
with the C++ template system... Now I'm certain beyond any doubt that I
am *not* going back to C++, ever.
T
--
I see that you JS got Bach.
More information about the Digitalmars-d
mailing list