"is" operator for structures?

Gor Gyolchanyan gor.f.gyolchanyan at gmail.com
Wed May 9 15:37:08 PDT 2012


I think it would be a unary prefix operator, which returns the
operand's copy, but with double the storage, having the second half -
wasted. :-D

On Thu, May 10, 2012 at 2:33 AM, Matt Soucy <msoucy at csh.rit.edu> wrote:
> On 05/09/2012 06:05 PM, H. S. Teoh wrote:
>>
>> On Wed, May 09, 2012 at 05:04:59PM -0400, Steven Schveighoffer wrote:
>>>
>>> On Wed, 09 May 2012 16:25:35 -0400, Jacob Carlborg<doob at me.com>  wrote:
>>>
>>>> On 2012-05-09 18:13, Steven Schveighoffer wrote:
>>>>
>>>>> This also works too:
>>>>>
>>>>> int opBinary(string s: "booya!")(...)
>>>>>
>>>>
>>>> We could create new operators :)
>>>
>>>
>>> Is there a unicode glyph for fist pump? :)
>>
>> [...]
>>
>> U+270A?
>>
>> :-)
>>
>>
>> T
>>
>
> I can only imagine what a fistpump operator would do...
> Also, this is my favorite new glyph.



-- 
Bye,
Gor Gyolchanyan.


More information about the Digitalmars-d mailing list