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

Concept for decrementable types. More...

#include <concepts.hpp>

Concept definition

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

Detailed Description

Concept for decrementable types.