rank.hpp 319 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
6
#include <migraph/config.hpp>

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

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

template <>
struct rank<0>
{
};

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

#endif