const Propagation

Julian Kranz via Digitalmars-d digitalmars-d at puremagic.com
Mon Dec 29 08:03:40 PST 2014


On Monday, 29 December 2014 at 15:53:25 UTC, Steven Schveighoffer 
wrote:
> The compiler can infer attributes if a function is a template. 
> Not all attributes, but some of them.
>
> -Steve

Ah, thanks, this explains it ;-). However, it's kind of uncool 
that this only works for templates...


More information about the Digitalmars-d mailing list