Best practices for logical const

Steven Schveighoffer schveiguy at yahoo.com
Sat Feb 15 21:29:41 PST 2014


On Sun, 16 Feb 2014 00:22:33 -0500, Steven Schveighoffer  
<schveiguy at yahoo.com> wrote:

> The problem you have to solve is this:
>
> void foo(const(int) t)

Gahh... should have been:

void foo(ref const(int) t)

-Steve


More information about the Digitalmars-d mailing list