Legal operator overloading

Nicholas Wilson via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sun May 29 22:54:42 PDT 2016


Is it legal/possible to overload the unary * operator? Also is it 
legal/possible to individually overload the comparison operators 
and not return a bool?

(Before you ask no I'm not crazy, I am trying to make a library 
solution to multiple address spaces for supporting OpenCL/CUDA in 
D, and vector comparisons.)


More information about the Digitalmars-d-learn mailing list