Aliasing specialized template stuct in his module leads troubles

Rob T alanb at ucora.com
Fri Feb 15 17:53:56 PST 2013


One more thing about this. If I leave in the alias in the same 
module where the template is defined, and also re-define the same 
alias in the other modules that make use out of it, the libraries 
will compile OK, but I'll get linking errors when I try to build 
an executable and link in the libs.

For each re-defined alias, I was able to confirm that the name 
mangling is identical in each module, so there's something going 
wrong specifically when the alias is defined in the same module 
where the template resides.

--rt



More information about the Digitalmars-d-learn mailing list