While I was playing around with spirit yesterday, I stumbled on
something nasty. I'm not sure if this is the right place to report this
but I'll post it here anyway :)
I found a calculator example
(http://www.oreillynet.com/network/2003/05/06/examples/calculatorexample
.html) which includes
Hey there!
I've had some problems trying to make a function pointer to a specific
windows callback function. It's defined as LRESULT CALLBACK WndProc(
HWND
hWnd, UINT message, WPARAM wParam, LPARAM lParam ), however, any sore
attempt I try to get the boost::bind working with it seems to fail
No, this won't work. boost::bind returns a function object, an object
with
operator() defined, not a function pointer. You can't use bind() to
create
a function pointer.
So, are there any suggestions or ideas that I could use?
I'm trying to make the wndProc point at a member function. I've