¡@

Home 

c++ Programming Glossary: my_callback

C-callback to function template: explicitly instantiate template

http://stackoverflow.com/questions/6734492/c-callback-to-function-template-explicitly-instantiate-template

Consider the following code template typename T void my_callback void data int main int ft 42 register_callback reinterpret_cast.. int main int ft 42 register_callback reinterpret_cast void my_callback int ft invoke_callback This gives me the following linker error.. platform Undefined symbols for architecture x86_64 void my_callback int void referenced from _main in ccYLXc5w.o which I find understandable...