On Fri, Mar 16, 2018 at 03:53:00PM -0400, Steven Schveighoffer via Digitalmars-d wrote: [...] > There was another namespace issue recently found: > > https://issues.dlang.org/show_bug.cgi?id=18582 > > But it looks like its different. When you compare: > > C++: > _ZN14some_namespace23some_templated_functionIiEEvv > > D: > _ZN23some_templated_functionIiE23some_templated_functionEv > > Something is wrong. Instead of the namespace, you get > "some_templated_function" as the namespace! [...]
I wonder if the problem is caused by wrongly treating the template function as a D eponymous template instead of a C++ template? T -- Don't drink and derive. Alcohol and algebra don't mix.
