On 2014-04-26 19:13:52 +0000, Walter Bright <newshou...@digitalmars.com> said:

I think that trying to be compatible with C++ templates is utter madness. But we can handle namespaces.

I'd argue that templates aren't the difficult part. Having struct/class semantics ABI-compatible with C++ is the hard part (constructors, destructors, exceptions). Once you have that, the difference between vector_of_int and vector<int> just becomes mangling. Same thing for template functions.

--
Michel Fortin
michel.for...@michelf.ca
http://michelf.ca

Reply via email to