On Monday, 30 November 2015 at 14:22:17 UTC, Timon Gehr wrote:
On 11/29/2015 12:13 PM, Ola Fosheim Grøstad wrote:
On a related note, does D support inline namespaces? Apparently it
affects mangling:

http://stackoverflow.com/questions/29764869/can-inline-namespaces-be-used-to-keep-backwards-compatibility-in-a-shared-librar


Namespaces affect mangling. The inline keyword doesn't.

The problem is that the inlined namespace can change without affecting C++ code. That makes it difficult to make stable bindings for D as it is transparent in C++, but non-transparent in D. Right?


Reply via email to