gw  1.0.0
A bunch of small C++ utilities
Loading...
Searching...
No Matches
gw::incrementable Concept Reference

Concept for incrementable types. More...

#include <concepts.hpp>

Concept definition

template<typename T>
concept gw::incrementable = requires(T value) {
{ ++value } -> std::common_with<T>;
value++;
}
Concept for incrementable types.
Definition concepts.hpp:22

Detailed Description

Concept for incrementable types.