[C++-sig] how do I instantiate templates in pyste with types defined in different files?

Scott McKay skottmckay at gmail.com
Wed Aug 17 21:27:35 CEST 2005


I believe I've made it work previously by creating a new header file
that #includes the template header, and the types you wish to
instantiate that template for.

In that case your original setup should work, but instead of using
test.h for the template, use the header which is just made up of
#includes.



More information about the Cplusplus-sig mailing list