Unary minus operator

Synopsis

Declared in <mp‐units/constrained.h>

[[nodiscard]]
constexpr
constrained<decltype(‐std::declval<T>()), ErrorPolicy>
operator‐(constrained const& x);

Return Value

A transparent wrapper that carries an error policy for domain constraint enforcement.

Parameters

Name Description

x

The operand

Created with MrDocs