Specifying C++ symbols in C++ namespaces
bearophile
bearophileHUGS at lycos.com
Wed Apr 2 15:33:20 PDT 2014
Walter Bright:
> Here's Andrei's proposal:
>
> extern (C++) template nspace() {
> int foo();
> }
I suggest to brainstorm the syntax some more time, because
someone could be able to invent a better syntax.
Some seeds:
extern (C++(nspace)) {
int foo();
}
extern (C++) struct nspace {
int foo();
}
extern (C++)(nspace) {
int foo();
}
extern (C++ nspace) {
int foo();
}
Bye,
bearophile
More information about the Digitalmars-d
mailing list