just an idea (!! operator)

Timon Gehr timon.gehr at gmx.ch
Wed Jul 11 06:42:07 PDT 2012


On 07/11/2012 01:33 PM, Alex Rønne Petersen wrote:
> On 11-07-2012 13:18, akaz wrote:
>> if needed, the operator !! (double exclamation mark) could be defined.
>>
>> it is just an idea, i do not have any specific use in mind.
>>
>> i encountered the operator in RT operating systems book:
>>
>> c!!e sends the message e along channel c
>> c?x assigns to variable x the value from c
>>
>> maybe this could be integrated with the concurrency somehow or used in
>> some other area.
>
> This is not something important enough to warrant a language feature in
> my opinion. And certainly not one that results in a Phobos dependency.
>

Making the operator overloadable does not result in a Phobos dependency.


More information about the Digitalmars-d mailing list