v0.14.0
enable_if.hpp
Go to the documentation of this file.
1 /* Workaround to pre c++11 compilers for std::enable_if */
2 
3 #pragma once
4 
5 namespace std
6 {
7  template <bool Condition, typename T = void> struct enable_if
8  {};
9 
10  template <typename T> struct enable_if<true, T>
11  {
12  typedef T type;
13  };
14 }
std::enable_if
Definition: enable_if.hpp:7
std
Definition: enable_if.hpp:5
std::enable_if< true, T >::type
T type
Definition: enable_if.hpp:12