mp_units::utility::constrained::operator++

Post-increments the wrapped value.

Synopsis

Declared in <mp-units/utility/constrained.h>

constexpr
constrained<decltype(std::declval<T&>()++), ErrorPolicy>
operator++(int tag);

Return Value

the value before incrementing, wrapped in constrained

Parameters

NameDescription
tagunused; disambiguates this postfix overload from the prefix operator++()