Visit a type by constructing its default value.
Useful for iterating over type_tag
, type_pack
, std::integral_constant
, etc.
#include <drake/bindings/pydrake/common/type_pack.h>
Static Public Member Functions | |
template<typename T , typename Visitor > | |
static void | run (Visitor &&visitor) |
|
static |