On Saturday, 26 April 2014 at 09:31:48 UTC, Walter Bright wrote:
There have been many proposals earlier:
http://forum.dlang.org/post/lhi1lt$269h$1...@digitalmars.com
My search found the following proposals:
[1]
extern (C++, namespace = A.B) {}
[2]
pragma(cpp_namespace, "A.B")
extern(C++) void f() {}
[3]
@namespace("A")
{
@namespace("B") {}
}
[4]
extern (C++) template A()
{
extern (C++) template B() {}
}
[5]
DIP61 a 'namespace' keyword
Would you be willing to summarize the merits/shortcomings of each
of these in your opinion?
Mike
[1] http://forum.dlang.org/post/lhpq51$3st$1...@digitalmars.com
[2] https://issues.dlang.org/show_bug.cgi?id=7961#c6
[3] https://github.com/D-Programming-Language/dmd/pull/2767
[4] http://forum.dlang.org/post/lhi1lt$269h$1...@digitalmars.com
[5] http://forum.dlang.org/post/ljfue4$11dk$1...@digitalmars.com