Mixin mangled name

2019-07-01 Thread Andrey via Digitalmars-d-learn
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

2019-07-01 Thread Jonathan Marler via Digitalmars-d-learn
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

Re: Mixin mangled name

2019-07-01 Thread Adam D. Ruppe via Digitalmars-d-learn
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

2019-07-01 Thread Andrey via Digitalmars-d-learn
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?

2019-07-01 Thread Robert M. Münch via Digitalmars-d-learn
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.