Drake
type_pack< Ts > Struct Template Reference

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

#include <bindings/pydrake/util/type_pack.h>

Collaboration diagram for type_pack< Ts >:
[legend]

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...
 

Detailed Description

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

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

Member Typedef Documentation

using bind = Tpl<Ts...>

Rebinds parameter pack to a given template.

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

Extracts the Ith type from this sequence.

Member Data Documentation

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

Number of template parameters.


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