New library: open multi-methods

Jean-Louis Leroy via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jul 19 06:46:24 PDT 2017


On Wednesday, 19 July 2017 at 13:36:55 UTC, jmh530 wrote:
> 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);
>
> }

You mean in openmethods.d?


More information about the Digitalmars-d-announce mailing list