const challenge
Robert Fraser
fraserofthenight at gmail.com
Sun Feb 3 00:10:13 PST 2008
Walter Bright wrote:
> 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.
We can do it with macros, though, right?
More information about the Digitalmars-d
mailing list