Sequoia
|
Similar to std::range but excludes the case where dereferencing yields the same type as the range. More...
#include <Concepts.hpp>
Similar to std::range but excludes the case where dereferencing yields the same type as the range.
This avoids treating std::filesystem::path as a range in circumstances where, to do so, would be inappropriate. The implementation of faithful_range
is not complete; it deals with the simplest circular case but doesn't take into account more complicated possibilites. A full treatment could almost certainly be readily implemented if/when reflection is properly supported in C++.