On 2/1/07, Server Levent Yilmaz <leventyilmaz@gmail.com> wrote:
Note that this expression will not call anything, it will generate a functor and drop it. I guess what you are trying to do is this
bind( func<void()>, print) (); // note the function call operator at the end.
A more conforming statement would be this:
bind( func<void(*)()>, print) ();
although first one does work with some compilers (MSVC to be specific, grrr).