type_visit_with_default Struct Reference

Detailed Description

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)

Member Function Documentation

◆ run()

static void run ( Visitor &&  visitor)

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