Fun with templates

TommiT tommitissari at hotmail.com
Sat Jul 6 06:09:53 PDT 2013


On Saturday, 6 July 2013 at 12:51:18 UTC, TommiT wrote:
> The function template foo accepts int, const(int) and 
> immutable(int) as the type parameter, because they're all 
> convertible to inout(int).

I didn't mean _convertible_ to inout, but rather that inout 
_accepts_ const, immutable or nothing.


More information about the Digitalmars-d mailing list