Click here to Skip to main content
15,892,927 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

How to export a template class without explicitly instantiating it? If we can't export other than instantiating it,please consider this situation..
i am doing explicit instantiation like this
template class CInput< CTest > (ctest is a class) ..but i shouldn't include the header file containing definition of CTest in this solution..is there any way to do so?
Posted

1 solution

I guess, there are no such way.

In case for early binding like templates, we need the class definition.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900