Skip to content

Search topics & cppreference

Search all study topics, concept maps, and 6,587 C++ and C reference pages.

std::experimental::ranges::Regular

The Regular concept specifies that a type is regular, that is, it is copyable, default constructible, and equality comparable.

NotebookLM
template< class T >
concept bool Regular = Semiregular<T> && EqualityComparable<T>;
(ranges TS)

The Regular concept specifies that a type is regular, that is, 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 ==.

Content from this page on cppreference.com, licensed under CC-BY-SA 3.0 and GFDL. Modified: restyled, site navigation removed, code windows added. Offline snapshot of 9 February 2025.