Function Templates in DLL
Robert Fraser
fraserofthenight at gmail.com
Tue Apr 1 21:21:19 PDT 2008
BCS wrote:
> 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/
Funny you mention that since that has been suggested and even worked out
as a solution by Burton Radons:
http://www.digitalmars.com/webnews/newsgroups.php?art_group=digitalmars.D.announce&article_id=11436
More information about the Digitalmars-d-learn
mailing list