Function Templates in DLL

BCS BCS at pathlink.com
Tue Apr 1 10:41:08 PDT 2008


Heinz wrote:
> I think it has been asked before....can a function template be exported in a dll?

currently no.

theoretically....

If you were able to put a compiler in the DLL and serialize the parsed 
template then the only thing left over would be to suck out the type 
info from the calling code for the compiler....


Dang you! --> http://xkcd.com/356/


More information about the Digitalmars-d-learn mailing list