Skip to content
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

Add missing include in apply_visitor_binary.hpp #41

Merged
merged 1 commit into from
Nov 28, 2017

Conversation

awulkiew
Copy link
Member

For boost::is_lvalue_reference.

For boost::is_lvalue_reference.
@awulkiew
Copy link
Member Author

awulkiew commented Nov 20, 2017

Currently boost/type_traits/is_lvalue_reference.hpp is included only in boost/variant/get.hpp and boost/variant/detail/multivisitors_cpp11_based.hpp. In case when neither of these files is included the compilation fails:

In file included from ../libs/geometry/test/algorithms/convert.cpp:16:
In file included from ../libs/geometry/test/algorithms/test_convert.hpp:13:
In file included from ../boost/geometry/algorithms/assign.hpp:28:
In file included from ../boost/variant/apply_visitor.hpp:17:
../boost/variant/detail/apply_visitor_binary.hpp:137:26: error: no member named 'is_lvalue_reference' in namespace 'boost'
        , ! ::boost::is_lvalue_reference<Value1>::value
            ~~~~~~~~~^

from

http://www.boost.org/development/tests/develop/developer/output/teeks99-02-dc3-0-11-Docker-64on64-boost-bin-v2-libs-geometry-test-algorithms-algorithms_convert-test-clang-gnu-linux-3-0~c++11-debug-threadapi-pthread.html

@awulkiew
Copy link
Member Author

awulkiew commented Nov 20, 2017

This is also a problem in master and boost-1.66.0 Beta1 RC1.

@apolukhin apolukhin merged commit 8c043e1 into boostorg:develop Nov 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants