The future of UDAs.

Timon Gehr timon.gehr at gmx.ch
Wed Nov 28 15:41:37 PST 2012


On 11/28/2012 11:46 PM, Walter Bright wrote:
> On 11/29/2012 3:23 AM, Max Samukha wrote:
>> That is a problem for anyone who builds a library for general use.
>
> I don't see how any library for general use would be importing user
> modules, so there shouldn't be a circular import dependency between user
> modules and library modules.
>


// ---

module a;
import b;
import lib;

mixin Lib;

// ---

module b;
import a;
import lib;

mixin Lib;

// ---


More information about the Digitalmars-d mailing list