Return the minimum of the given values.

Synopsis

Declared in <folly/ConstexprMath.h>

template<
    typename T,
    typename... Ts>
constexpr
T
constexpr_min(
    T a,
    Ts... ts);

Description

When two values are equivalent, the earlier argument is returned to make sorting stable.

Return Value

The minimum value among the arguments.

Parameters

Name

Description

a

The first value to compare.

ts

The remaining values to compare.

Created with MrDocs