aboutsummaryrefslogtreecommitdiff
path: root/src/sfinae.h
blob: 1f0cb7423be7d72268a08748c5f2fcb4f1c85aab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef TYPEASVALUE_SRC_SFINAE_H_
#define TYPEASVALUE_SRC_SFINAE_H_

#include <type_traits>

namespace tav {
namespace detail {

template <bool Condition>
using enable_if = typename std::enable_if<Condition, std::size_t>::type;

}
}

#endif  // TYPEASVALUE_SRC_SFINAE_H_