Medial Code Documentation
Loading...
Searching...
No Matches
dmlc::IfThenElseType< cond, Then, Else > Struct Template Reference

template to select type based on condition For example, IfThenElseType<true, int, float>::Type will give int More...

Detailed Description

template<bool cond, typename Then, typename Else>
struct dmlc::IfThenElseType< cond, Then, Else >

template to select type based on condition For example, IfThenElseType<true, int, float>::Type will give int

Template Parameters
condthe condition
Thenthe typename to be returned if cond is true
Elsetypename to be returned if cond is false

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