Support Class Library
A set of tools providing classes and utility
conditional.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <type_traits>
4 
5 namespace scl{
6  namespace tools{
7  namespace meta{
11  template <bool B, class T, class F>
12  using conditional_t = typename std::conditional<B, T, F>::type;
13  }
14  }
15 }
Global namespace of the SCL.
Definition: alias.hpp:3
typename std::conditional< B, T, F >::type conditional_t
An handy type alias for the result of std::conditional.
Definition: conditional.h:12