https://issues.dlang.org/show_bug.cgi?id=16532 --- Comment #1 from b2.temp at gmx.com --- Instead of a struct you can use a template without parameter. The compatibility with C++ is not a valid argument because namespaces are supported: https://dlang.org/spec/cpp_interface.html#cpp-namespaces. --