Drake
Drake C++ Documentation
type_pack< Ts > Struct Template Reference

Detailed Description

template<typename... Ts>
struct drake::type_pack< Ts >

Provides a tag to pass a parameter packs for ease of inference.

#include <drake/bindings/pydrake/common/type_pack.h>

Public Types

template<template< typename... > class Tpl>
using bind = Tpl< Ts... >
 Rebinds parameter pack to a given template. More...
 
template<size_t I>
using type_at = typename drake::type_at< I, Ts... >::type
 Extracts the Ith type from this sequence. More...
 

Static Public Attributes

static constexpr int size = sizeof...(Ts)
 Number of template parameters. More...
 

Member Typedef Documentation

◆ bind

using bind = Tpl<Ts...>

Rebinds parameter pack to a given template.

◆ type_at

using type_at = typename drake::type_at<I, Ts...>::type

Extracts the Ith type from this sequence.

Member Data Documentation

◆ size

constexpr int size = sizeof...(Ts)
static

Number of template parameters.


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