Logical AND of a list of traits, each exposing a value bool constant, short‐circuiting like std::conjunction.

Synopsis

Declared in <fmt/ranges.h>

template<typename...>
struct conjunction
    : std::true_type

Base Classes

Name

Description

std::true_type

Specializations

Name

Description

conjunction<P>

Single‐trait base case: conjunction<P> inherits P directly.

conjunction<P1, Pn...>

Recursive case: conjunction<P1, Pn...> is P1 if it is false, otherwise conjunction<Pn...>.

Created with MrDocs