const challenge

Walter Bright newshound1 at digitalmars.com
Sat Feb 2 11:02:10 PST 2008


Janice Caron wrote:
> On 2/2/08, Walter Bright <newshound1 at digitalmars.com> wrote:
>> It can be solved by having the result type of ~ be a polysemous
>> type, i.e. its type is based on how it is used.
> 
> Will we be able to write our own functions which are declared to
> return polysemous types?

No. They're basically a hack.



More information about the Digitalmars-d mailing list