Proposal for scoped const contracts

Steven Schveighoffer schveiguy at yahoo.com
Mon Mar 24 13:06:39 PDT 2008


"Steven Schveighoffer" wrote
> Without this, string processing functions that take 2 arguments would 
> generate potentially 3^2 x 3 = 18 variations, the 3^2 being const 
> invariant and mutable for each argument independently, and the x 3 factor 
> for char, wchar, and dchar.

OK, first things first, I need to get my basic math skills right :)

that should have read *27* variations.

-Steve 





More information about the Digitalmars-d mailing list