| 123456789101112131415161718 |
- #pragma once
- namespace math::vector {
- template <typename T> struct is_vector {
- static const constexpr bool value = false;
- };
- template <typename T, std::size_t N> struct is_vector<vector<T, N>> {
- static const constexpr bool value = true;
- };
- template <typename T, std::size_t R, std::size_t C>
- struct is_vector<matrix::matrix<T, R, C>> {
- static const constexpr bool value = true;
- };
- }
|