Remove util::multidimensional_array
This commit is contained in:
parent
6499cf8779
commit
195867ac31
1 changed files with 0 additions and 29 deletions
|
|
@ -1,29 +0,0 @@
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <array>
|
|
||||||
|
|
||||||
namespace psemek::util
|
|
||||||
{
|
|
||||||
|
|
||||||
namespace detail
|
|
||||||
{
|
|
||||||
template <typename Type, std::size_t ... Sizes>
|
|
||||||
struct multidimentional_array_impl;
|
|
||||||
|
|
||||||
template <typename Type, std::size_t FirstSize, std::size_t ... Sizes>
|
|
||||||
struct multidimentional_array_impl<Type, FirstSize, Sizes...>
|
|
||||||
{
|
|
||||||
typedef std::array<typename multidimentional_array_impl<Type, Sizes...>::type, FirstSize> type;
|
|
||||||
};
|
|
||||||
|
|
||||||
template <typename Type>
|
|
||||||
struct multidimentional_array_impl<Type>
|
|
||||||
{
|
|
||||||
typedef Type type;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename Type, std::size_t ... Sizes>
|
|
||||||
using multidimentional_array = typename detail::multidimentional_array_impl<Type, Sizes...>::type;
|
|
||||||
|
|
||||||
}
|
|
||||||
Loading…
Add table
Reference in a new issue