interfacing c++ templates. Another c++-namespace issue?

H. S. Teoh hsteoh at quickfur.ath.cx
Fri Mar 16 20:52:19 UTC 2018


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.


More information about the Digitalmars-d mailing list