"git@developer.sourcefind.cn:gaoqiong/migraphx.git" did not exist on "be5f3539351e642b4b9cfae03c1d9e9f10437cad"
enable_if.hpp 265 Bytes
Newer Older
Chao Liu's avatar
Chao Liu committed
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef CK_ENABLE_IF_HPP
#define CK_ENABLE_IF_HPP

namespace ck {

template <bool B, typename T = void>
using enable_if = std::enable_if<B, T>;

template <bool B, typename T = void>
using enable_if_t = typename std::enable_if<B, T>::type;

} // namespace ck
#endif