# std::experimental::ranges::Semiregular

> C++ Atlas: `cppatlas.com/w/cpp/experimental/ranges/concepts/Semiregular` | Source: https://en.cppreference.com/w/cpp/experimental/ranges/concepts/Semiregular | Domain: Technical specifications

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 ==.

## Official Specification Summary (cppreference)

```cpp
// Defined in header <experimental/ranges/concepts>

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

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 `==`.

---
Attribution: content from https://en.cppreference.com/w/cpp/experimental/ranges/concepts/Semiregular (cppreference.com), licensed under CC-BY-SA 3.0 and GFDL. Modified: converted to markdown, study notes added. Offline snapshot of 9 February 2025.