-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compatibility with Boost.Bind/Boost.Phoenix #76
Comments
That seems odd. Boost.Bind and Boost.Phoenix just create bog-standard Function Objects (just like the C++11+ std::function supports). Does kaguya's function wrapper not support that? If not it should switch to boost::function (which can be embedded and re-name-spaced via one of the boost tools). |
Was thinking the same, but there seems to be some more magic going on. However there is an undocumented template version of |
Ahh, that makes sense then, function object's can have multiple overrides in the same object so it could not distinguish otherwise without an argument unifying it, which a template argument would do (which is why both boost::function and std::function require it in all cases). |
Ah ok. Then this is a documentation issue. |
Currently it seems to be impossible to use Boost.Bind/Boost.Phoenix with kaguya. But those are required to use lambdas before C++11.
My sample usage is:
I get the following errors:
Boost.Phoenix
The text was updated successfully, but these errors were encountered: