c++ - Issue with Boost 1.64 and Visual Studio 2017 -


i'm upgrading libraries msvc 141 , moving visual studio 2017.

i've downloaded newest boost libraries (boost_1_64_0_b2-msvc-14.1-64.exe). when building code, error:

...\boost\move\detail\type_traits.hpp(757): error c2187: syntax error: ')' unexpected here ...\boost\move\detail\type_traits.hpp(763): note: see reference class template instantiation 'boost::move_detail::is_copy_constructible' being compiled

in mentioned header, boost_move_tt_cxx11_is_copy_constructible defined latest msvc doesn't understand enclosed code.

undefining macro helps, there better solution fix this? what's reason here?


Comments