boostorg / move

Boost.org move module
http://boost.org/libs/move
Boost Software License 1.0
20 stars 52 forks source link

Iterator traits/use std #43

Closed theodelrieu closed 2 years ago

theodelrieu commented 3 years ago

Using Boost.Move breaks range-v3, since the latter specializes std::iterator_traits for its custom iterators, but does not provide all member type aliases.

See https://github.com/ericniebler/range-v3/pull/1660

igaztanaga commented 2 years ago

I could not reproduce the issue with the following test with latest MSVC 2019 andd GCC 10.3 in C++17/20 modes:

#include <range/v3/all.hpp>
#include <boost/container/flat_map.hpp>

int main()
{
   using namespace boost::container;
   auto f = ranges::to< flat_map<int, int> >();
   (void)f;
   return 0;
}`

I'm using Boost 1.78 and Ranges-v3 0.11 and current master. Could you provide a minimal test case and compiler/toolset versions to reproduce the bug?

igaztanaga commented 2 years ago

Closing the issue due to inactivity.