Thread overview |
---|
July 01, 2019 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? |
July 02, 2019 Re: Mixin mangled name | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrey | On Monday, 1 July 2019 at 23:52:49 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? Perhaps: https://dlang.org/spec/pragma.html#mangle |
July 03, 2019 Re: Mixin mangled name | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrey | On Monday, 1 July 2019 at 23:52:49 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? Yes. An example from the DMD test suite itself : https://run.dlang.io/is/ctq77S |
Copyright © 1999-2021 by the D Language Foundation