Mixin mangled name
Hello, Is it possible to mixin in code a mangled name of some entity so that compiler didn't emit undefined symbol error? For example mangled function name or template parameter?
Re: Mixin mangled name
On Monday, 1 July 2019 at 19:40:09 UTC, Andrey wrote: Hello, Is it possible to mixin in code a mangled name of some entity so that compiler didn't emit undefined symbol error? For example mangled function name or template parameter? If you've got undefined symbol "foo", you could just add this to one of your modules: extern (C) void foo() { }
Re: Mixin mangled name
On Monday, 1 July 2019 at 19:40:09 UTC, Andrey wrote: Is it possible to mixin in code a mangled name of some entity so that compiler didn't emit undefined symbol error? For example mangled function name or template parameter? try pragma(mangle, "thing here") void foo() {}
Mixin mangled name
Hello, Is it possible to mixin in code a mangled name of some entity so that compiler didn't emit undefined symbol error? For example mangled function name or template parameter?
Re: assert in unittest has access to private member?
On 2019-06-30 17:47:27 +, a11e99z said: Private means that only members of the enclosing class can access the member, or vvv members and functions in the same module as the enclosing class. ^^^ did you take it into account? Of course not... still to much C++ in my head... Thanks for the clarification. I will remember it from now on. -- Robert M. Münch http://www.saphirion.com smarter | better | faster