VisionCpp  0.0.1
Public Types | List of all members
visioncpp::internal::tools::StaticIf< Conds, T1, T2 > Struct Template Reference

It is used to select either of the input type based the Conds template parameters. More...

#include <static_if.hpp>

Collaboration diagram for visioncpp::internal::tools::StaticIf< Conds, T1, T2 >:

Public Types

using Type = T1
 
using LostType = T2
 

Detailed Description

template<bool Conds, typename T1, typename T2>
struct visioncpp::internal::tools::StaticIf< Conds, T1, T2 >

It is used to select either of the input type based the Conds template parameters.

It is used to select either of the template constant variable based the Conds template parameters.

Template Parameters
Conds: determines the condition
T1: first input type
T2: second input type
Conds: determines the condition
X: first constant variable
Y: second constant type

Definition at line 52 of file static_if.hpp.

Member Typedef Documentation

◆ LostType

template<bool Conds, typename T1 , typename T2 >
using visioncpp::internal::tools::StaticIf< Conds, T1, T2 >::LostType = T2

Definition at line 54 of file static_if.hpp.

◆ Type

template<bool Conds, typename T1 , typename T2 >
using visioncpp::internal::tools::StaticIf< Conds, T1, T2 >::Type = T1

Definition at line 53 of file static_if.hpp.


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