ericniebler / stl2

LaTeX and Markdown source for the Ranges TS/STL2 and associated proposals
88 stars 8 forks source link

join_view::iterator::operator* requires the inner iterator to have a const-qualified operator* #595

Closed ericniebler closed 5 years ago

ericniebler commented 5 years ago

From join_view::iterator:

constexpr decltype(auto) operator*() const { return *inner_; }

That fails when R's inner iterator does not have a const-qualified operator*.

ericniebler commented 5 years ago

Per the resolution of #514 in P1878, this is no longer an issue. All readable types are required to also be readable when const.