When is casting const() away actually necessary? (Used to be: Re: Why D const is annoying)

David Nadlinger see at klickverbot.at
Wed May 2 09:59:34 PDT 2012


On Wednesday, 2 May 2012 at 16:52:33 UTC, Alex Rønne Petersen 
wrote:
> shared? Almost always in any non-trivial application. shared is 
> only useful if you're dealing with templatized functions that 
> can actually handle it, which is not the case as often as one 
> would like.

Additionally, shared is currently little more than a marker for 
non-TLS data.

David


More information about the Digitalmars-d mailing list