std::experi...es::Regular(3)

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

NAME πŸ’–

okay so bestie, welcome to the std::experi...es::Regular(3) page from the C++ Standard Libary manual β€” yes, that spelling is literally in the header, iykyk 😭✨

This is the page for std::experimental::ranges::Regular, and the NAME entry is doing a very symmetrical main character thing:

std::experimental::ranges::Regular - std::experimental::ranges::Regular

No cap, that's the whole NAME section: same name on both sides of the dash. Iconic. πŸ’…


Synopsis πŸ¦‹

Here's the exact synopsis vibe:

Defined in header <experimental/ranges/concepts>
template< class T >
(ranges TS)
concept bool Regular = Semiregular<T> && EqualityComparable<T>;

The Regular concept specifies that a type is regular β€” meaning it is copyable, default constructible, and equality comparable. It is satisfied by types that behave similarly to built-in types like int, and that are comparable with ==. Slay. πŸŽ€

So like, if your type is giving built-in-type energy and can do the == thing, this concept is looking at it and saying β€œperiodt.” πŸ’–


πŸŽ€ footer shoutout, bestie: source/version is http://cppreference.com, and the date is 2024.06.10. That's the cute sign-off β€” no cap, we're done here. πŸ«ΆπŸ’œ

πŸ“¦ where this page comes from