ericniebler / range-v3

Range library for C++14/17/20, basis for C++20's std::ranges
Other
4.05k stars 437 forks source link

catch2 compile error with non-ostreamable types due to range io #1772

Open timblechmann opened 1 year ago

timblechmann commented 1 year ago

catch2 has some range matchers like RangeEquals. however i'm running into the following problem:


as a workaround i can compile my unit tests with RANGES_V3_DISABLE_IO, but i wonder if view_interface::operator<< can be enabled only if the underlying type supports operator<<?