microsoft / Range-V3-VS2015

A fork of the popular range-v3 C++ library with support for the Visual Studio 2015 Update 3 VC++ compiler.
Other
115 stars 22 forks source link

ranges::view_facade's cursor incorrectly expects get() method instead of read() #25

Open biocomp opened 6 years ago

biocomp commented 6 years ago

https://github.com/Microsoft/Range-V3-VS2015/blob/7f02ac2acbd068e2bb182f77686a35cbdd51bf59/include/range/v3/range_access.hpp#L364

Original range v3 library (and all examples looks like) expect and use read() method on the cursor. (see https://github.com/ericniebler/range-v3/blob/c913b630435c784fccb75aeeabc3d2e857dbbee7/include/range/v3/range_access.hpp#L292)

Current library expects get(). Which, is, as you can imagine, was real hard to debug too )

Could you fix it?