New library: open multi-methods

jmh530 via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jul 19 06:36:55 PDT 2017


On Wednesday, 19 July 2017 at 13:35:40 UTC, jmh530 wrote:
> On Wednesday, 19 July 2017 at 12:29:36 UTC, Jean-Louis Leroy 
> wrote:
>>
>> ...that does the two above. Problem is, it needs -Jpath on the 
>> command line to work. Unless there is a workaround?
>>
>
> I prefer the original.

What if you do:

shared static this(){

   mixin(registerMethods);

}


More information about the Digitalmars-d-announce mailing list