C Wrapper for C++: How to deal with C++ templates? -


earlier asking writing c wrapper c++ classes ( c wrapper c++ ), clear.

there's 1 more question though: how deal c++ templates? let's class:

 template<typename t> class temp  {       t get();        void set(t t);   } 

is there elegant way write c wrapper?

you have write separate wrapper each specialization.


Comments