Seems like everybody's proposing const ... so here's another one

Mike vertex at gmx.at
Fri Dec 7 08:36:32 PST 2007


On Fri, 07 Dec 2007 17:30:15 +0100, Denton Cockburn <diboss at hotmail.com>  
wrote:

> Maybe it could be implemented in some esoteric template code.
>
> That's the idea that Walter mentioned from Andrei (not yours, but
> tailconst!(c)).
> That's the best solution right now, but yours can certainly be
> implemented in another template.

Maybe macros could do the same thing even better. Walter could leave const  
as it is for now, throw macros at the crowd and see what the community  
comes up with.

I personally don't really like the idea of using templates for constness.  
It seems like a workaround.

-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Digitalmars-d mailing list