Adding Unicode operators to D

Jarrett Billingsley jarrett.billingsley at gmail.com
Wed Oct 22 18:45:33 PDT 2008


On Wed, Oct 22, 2008 at 8:59 PM, Benji Smith <dlanguage at benjismith.net> wrote:
> It'd be fun to find ways to use all those nutty symbols. Maybe the ♥
> operator could be used to indicate "friend" classes!!!
>
>   class TreeNode
>      ♥ Tree,
>      ♥ TreeVisitor,
>   {
>      ...
>   }

Your friend class must be incinerated for testing to continue.


More information about the Digitalmars-d mailing list