std::ranges::common_range(3cxx)

πŸ“¦
version 16-20260322 Β· 4 versions
, in ubuntu resolute, ubuntu stonking

🌸 NAME 🌸

okay so this is the std::ranges::common_range(3cxx) page from the cxx manual, and the name is a whole mood: std::ranges::common_range β€” a range for which ranges::begin and ranges::end return the same type. periodt. πŸ’…

✨ SYNOPSIS ✨

#include <ranges>

πŸŽ€ Concept definition πŸŽ€

template<typename _Tp>
concept std::ranges::common_range =  range<_Tp> && same_as<iterator_t<_Tp>, sentinel_t<_Tp>>

πŸ’– Detailed Description πŸ’–

A range for which ranges::begin and ranges::end return the same type. That's it. That's the whole concept. It's giving same-type energy, and honestly? iconic. ✨

πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for libstdc++ from the source code. 🫢


okay bestie, that's the whole page. source/version: libstdc++; date: the footer doesn't show one, so no date on this one. bye πŸ’–βœ¨

πŸ“¦ where this page comes from