I'd like to know how could I declare a C linkage function in my case? The following definition does not work,
template <typename T, extern "C" void(*cb)(T*)> class Test {};
--
This message posted from opensolaris.org
I'd like to know how could I declare a C linkage function in my case? The following definition does not work,
template <typename T, extern "C" void(*cb)(T*)> class Test {};
--
This message posted from opensolaris.org