Specifying C++ symbols in C++ namespaces
Xiaoxi
xiaoxi at 163.com
Wed Apr 2 15:44:29 PDT 2014
On Wednesday, 2 April 2014 at 22:33:21 UTC, bearophile wrote:
> 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
extern (C++) module nspace;
More information about the Digitalmars-d
mailing list