Drake
ConditionTraits< Bool< T > > Struct Template Reference

Provides the specialization of ConditionTraits for Bool<T> so that a value of Bool<T> can be passed to DRAKE_ASSERT/DRAKE_DEMAND macros. More...

#include <drake/common/drake_bool_deprecated.h>

Static Public Member Functions

static bool Evaluate (const Bool< T > &b)
 

Static Public Attributes

static constexpr bool is_valid
 

Detailed Description

template<typename T>
struct drake::assert::ConditionTraits< Bool< T > >

Provides the specialization of ConditionTraits for Bool<T> so that a value of Bool<T> can be passed to DRAKE_ASSERT/DRAKE_DEMAND macros.

Member Function Documentation

◆ Evaluate()

static bool Evaluate ( const Bool< T > &  b)
inlinestatic

Member Data Documentation

◆ is_valid

constexpr bool is_valid
static
Initial value:
=
ConditionTraits<typename Bool<T>::value_type>::is_valid

The documentation for this struct was generated from the following file: