Forward a single field to a subfield, "alias this"-style?

Vladimir Panteleev vladimir at thecybershadow.net
Tue Sep 6 17:51:56 PDT 2011


On Wed, 07 Sep 2011 01:02:49 +0300, Timon Gehr <timon.gehr at gmx.ch> wrote:

> Yes, that is because alias does not work with expressions, only with  
> symbols.

Thanks. Seems odd that you can forward *all* undefined symbols to a  
sub-class/struct, but not just specific ones. I wonder how hard would it  
be to get that "alias" syntax working in the same manner.

-- 
Best regards,
  Vladimir                            mailto:vladimir at thecybershadow.net


More information about the Digitalmars-d-learn mailing list