Possible syntax for multiple opCast functions
Stewart Gordon
smjg_1998 at yahoo.com
Fri Jul 20 15:13:35 PDT 2007
"Ender KaShae" <astrothayne at gmail.com> wrote in message
news:f7r8eg$1dnn$1 at digitalmars.com...
<snip>
> rather than have multiple cast use functions like toInt, toChar, toB, for
> derived types use symbols ex: use toInt_ptr for int* or toInt_ar for int[]
> or toInt_ar2 for int[2]
Please see my reply to Victor Nakoryakov on this thread.
See also my proposal from a while back:
http://tinyurl.com/2uadhz
Stewart.
More information about the Digitalmars-d
mailing list