Gobelijn API documentation  - generated for commit a0cbea7
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros Pages
smaller< T1, T2 > Struct Template Reference

Compile-time selection of type with smallest size. More...

#include <smaller.h>

Collaboration diagram for smaller< T1, T2 >:
Collaboration graph

Public Types

using type = typename select< T1, T2,(sizeof(T1)< sizeof(T2))>::type
 

Detailed Description

template<typename T1, typename T2>
struct smaller< T1, T2 >

Compile-time selection of type with smallest size.

Definition at line 28 of file smaller.h.

Member Typedef Documentation

template<typename T1, typename T2>
using smaller< T1, T2 >::type = typename select<T1, T2, (sizeof(T1) < sizeof(T2))>::type

Definition at line 30 of file smaller.h.


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