meta::sentinel_t¶
Defined in header <mgs/meta/sentinel_t.hpp>
.
template <typename T>
using sentinel_t = /* see below */;
Pre-C++20 implementation of std::ranges::sentinel_t.
Differences with the C++20 version¶
The implementation does not rely on std::ranges::end, but on the usual customization point idiom, i.e.
using std::end; end(/* ... */);
.