On 12/13/2014 2:10 AM, bearophile wrote:
Walter Bright:

struct Tree {
   RefCount!(Tree*) left;
   RefCount!(Tree*) right;
   ...
}

... I don't think I'd ever have a use for this code.

You have no use for tree structures?

Giving a reference counter to every pointer in a binary tree sounds a bit too 
much.

DMD, for example, uses ASTs where the nodes have multiple parents.

Reply via email to