rank.hpp 312 Bytes
Newer Older
Paul's avatar
Paul committed
1
2
3
#ifndef MIGRAPH_GUARD_RTGLIB_RANK_HPP
#define MIGRAPH_GUARD_RTGLIB_RANK_HPP

4
5
#include <migraph/config.hpp>

6
7
namespace migraph {
inline namespace MIGRAPH_INLINE_NS {
Paul's avatar
Paul committed
8
9
10
11
12
13
14
15
16
17
18

template <int N>
struct rank : rank<N - 1>
{
};

template <>
struct rank<0>
{
};

19
} // namespace MIGRAPH_INLINE_NS
Paul's avatar
Paul committed
20
21
22
} // namespace migraph

#endif