31 lines
577 B
C++
31 lines
577 B
C++
#ifndef TULIP_FWD_HPP
|
|
#define TULIP_FWD_HPP
|
|
|
|
#include <cstddef>
|
|
#include <limits>
|
|
|
|
namespace tulip {
|
|
|
|
inline constexpr std::size_t dynamic_extent = std::numeric_limits<std::size_t>::max();
|
|
|
|
template <typename T>
|
|
struct inline_storage {
|
|
using value_type = T;
|
|
};
|
|
|
|
struct heap_storage_tag {};
|
|
struct inline_storage_tag {};
|
|
|
|
template <typename T, std::size_t... Dims>
|
|
class tensor_view;
|
|
|
|
template <typename T, std::size_t... Dims>
|
|
class tensor;
|
|
|
|
template <typename T, std::size_t M, std::size_t N>
|
|
using matrix = tensor<T, M, N>;
|
|
|
|
} // namespace tulip
|
|
|
|
#endif // TULIP_FWD_HPP
|