Drake
template_single_tag< Tpl > Struct Template Reference

Provides a tag for single-parameter templates. More...

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

Public Types

template<typename T >
using type = Tpl< T >
 

Detailed Description

template<template< typename > class Tpl>
struct drake::template_single_tag< Tpl >

Provides a tag for single-parameter templates.

Note
Single-parameter is specialized because using aliases are picky about how template parameters are passed.
See also
https://stackoverflow.com/a/33131008/7829525
Note
The above issues can be worked around if either (a) inheritance rather than aliasing is used, or (b) the alias uses the exact matching form of expansion.

Member Typedef Documentation

using type = Tpl<T>

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