v0.9.2
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 }