-
Notifications
You must be signed in to change notification settings - Fork 17
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
Placeholders namespace is ignored by Boost #18
Comments
patflick
added a commit
that referenced
this issue
Sep 26, 2018
Thank you @mquevill . I added the alias version to the code. This should fix the issue. Cheers
|
patflick
added a commit
that referenced
this issue
Sep 26, 2018
whoops. now using |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you are trying to use mxx and Boost together, Boost will ignore the
std::placeholders
namespace in the below snippet of code.However, using the namespace explicitly resolves the conflict.
// create user function m_user_func = std::bind(custom_op::custom_function<Func>, std::forward<Func>(func), std::placeholders::_1, std::placeholders::_2, std::placeholders::_3, std::placeholders::_4);
or, using an alias,
The text was updated successfully, but these errors were encountered: