std::experi...TagSpecifier(3)

πŸ“¦ version 2024.07.05, in nixpkgs unstable, opensuse-leap 16.0

πŸ’– NAME πŸ’–

From the C++ Standard Libary manual (yep, that spelling is canon here) β€” page std::experi...TagSpecifier(3):

std::experimental::ranges::TagSpecifier β€” std::experimental::ranges::TagSpecifier

That's literally the NAME section doing its little twin thing. Iconic.

πŸ“œ Synopsis πŸ“œ

Defined in header <experimental/ranges/utility>
template< class T >                                        (ranges TS)
concept bool TagSpecifier = /* implementation-defined */;

Okay so TagSpecifier<T> is satisfied if and only if T is a tag specifier for use with ranges::tagged. That's the whole vibe check, no cap.

The Ranges TS provides a set of tag specifiers in <experimental/ranges/algorithm>. And bestie, listen: users cannot define their own tag specifiers. Periodt. 🫢

πŸ‘€ See also πŸ‘€

  • tagged β€” augument a tuple-like type with named accessors (class template)
  • in, in1, in2, out, out1, out2 β€” tag specifiers for use with ranges::tagged (class)
  • fun, min, max, begin, end β€” also chilling in the See also list, with no extra blurb on the page

Source/version: http://cppreference.com, 2024.06.10, std::experi...TagSpecifier(3). Stay slay, bestie πŸ’…βœ¨

πŸ“¦ where this page comes from