C++ const expression are not that const after all

H. S. Teoh via Digitalmars-d digitalmars-d at puremagic.com
Tue Apr 28 06:43:41 PDT 2015


On Tue, Apr 28, 2015 at 12:20:31PM +0000, Luc Bourhis via Digitalmars-d wrote:
> On Tuesday, 28 April 2015 at 02:48:09 UTC, H. S. Teoh wrote:
> >On Tue, Apr 28, 2015 at 02:24:01AM +0000, deadalnix via Digitalmars-d
> >wrote:
> >>http://b.atch.se/posts/non-constant-constant-expressions/
> >
> >Whoa. This is gonna give me nightmares tonight... that is absolutely
> >insane.
> 
> The author of that blog seems to see his finding in a positive light
> actually.  As it makes it possible to write more powerful template
> metaprograms!

Somebody should enlighten him concerning D. ;-)


T

-- 
Chance favours the prepared mind. -- Louis Pasteur


More information about the Digitalmars-d mailing list