
6 Dec
2011
6 Dec
'11
2:48 p.m.
Hi Nathan,
Your code compiles fine for me on GCC 4.6. I'm not sure why it doesn't work with Visual Studio.
Interesting. I was just thinking that my syntax is wrong.
Perhaps you can try wrapping the function pointers with boost::mem_fn(), like this:
_read_function = boost::mem_fn(&my_reader::read_full<int>);
Maybe that helps.
Yes, that helped! Thanks a lot. Regards, Christian