std::experi...Semiregular(3)

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

Okay bestie, welcome to the std::experi...Semiregular(3) page from the C++ Standard Libary manual β€” yes, that spelling is exactly what the page says, and we are respecting the lore πŸ˜­πŸ’…. This is the whole vibe: the Semiregular concept, explained in group-chat energy, with every detail kept.


πŸŽ€ NAME πŸŽ€

std::experimental::ranges::Semiregular - std::experimental::ranges::Semiregular

That’s the name, twice, because the page said it twice and we are not skipping a single crumb 🫢✨.


✨ Synopsis ✨

Defined in header <experimental/ranges/concepts>:

template< class T >
(ranges TS)
concept bool Semiregular = Copyable<T> && DefaultConstructible<T>;

The Semiregular concept specifies that a type is both copyable and default constructible. It is satisfied by types that behave similarly to built-in types like int, except that they need not support comparison with ==.

It’s giving β€œbuilt-in type energy” but with zero == obligation, no cap πŸ¦‹πŸ”₯.


That’s the entire page, bestie β€” source/version http://cppreference.com, dated 2024.06.10, and it’s a wrap πŸ’–βœ¨

πŸ“¦ where this page comes from