A concrete traits class providing sugar to disable support for symbolic evaluation (i.e., the symbolic::Expression scalar type).
For example, if MySystem does not support the symbolic expression scalar type, it could specialize Traits as follows:
#include <drake/systems/framework/scalar_conversion_traits.h>
Public Types | |
template<typename T , typename U > | |
using | supported = typename std::bool_constant< !std::is_same_v< T, symbolic::Expression > &&!std::is_same_v< U, symbolic::Expression > > |
using supported = typename std::bool_constant< !std::is_same_v<T, symbolic::Expression> && !std::is_same_v<U, symbolic::Expression> > |