invariant/const class storage class

Sean Kelly sean at invisibleduck.org
Wed Oct 1 13:43:30 PDT 2008


Steven Schveighoffer wrote:
> 
> BTW, I think you may have mistyped your string s = "a" ~ "b" example, that 
> should be legal.

Oops, you're right.  For compilation to fail, change it to:

     string s = "a".dup ~ "b";


Sean



More information about the Digitalmars-d mailing list