std::experi...x,begin,end(3)
π
std::experi...x,begin,end(3) π
okay so you're in the C++ Standard Libary manual, bestie, and this page is the whole std::experimental::ranges::tag squad being iconic together. The NAME line is a whole mood β it lists the full roster twice, because apparently once was not enough:
std::experimental::ranges::tag::in,in1,in2,out,out1,out2,fun,min,max,begin,end
That's std::experimental::ranges::tag::in, in1, in2, out, out1, out2, fun, min, max, begin, and end. Yes, all of them. Slay. β¨
β¨ Synopsis β¨
Defined in header <experimental/ranges/algorithm>:
struct in { /* implementation-defined */ };
struct in1 { /* implementation-defined */ };
struct in2 { /* implementation-defined */ };
struct out { /* implementation-defined */ };
struct out1 { /* implementation-defined */ };
struct out2 { /* implementation-defined */ }; (ranges TS)
struct fun { /* implementation-defined */ };
struct min { /* implementation-defined */ };
struct max { /* implementation-defined */ };
struct begin { /* implementation-defined */ };
struct end { /* implementation-defined */ };
These classes are TagSpecifiers for use with ranges::tagged. no cap, that's the whole vibe.
The name of a specifier is also the element name it corresponds to. For instance, ranges::tagged<std::pair<int, int>, tag::min, tag::max> provides a set of named accessors named min and a set of named accessors named max. iykyk β the tag name and the accessor name are literally matching, and that's the point. π
This lil' page came from http://cppreference.com, dated 2024.06.10, and it's filed under std::experi...x,begin,end(3) β mwah, bye bestie ππ«Ά
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms