forked from devinamatthews/tblis
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/develop' into develop
- Loading branch information
Showing
10 changed files
with
377 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#ifndef _STL_EXT_ARRAY_HPP_ | ||
#define _STL_EXT_ARRAY_HPP_ | ||
|
||
#include <array> | ||
|
||
#include "type_traits.hpp" | ||
|
||
namespace stl_ext | ||
{ | ||
|
||
namespace detail | ||
{ | ||
|
||
template <typename T, size_t N, size_t... M> | ||
struct array_helper | ||
{ | ||
typedef std::array<typename array_helper<T,M...>::type,N> type; | ||
}; | ||
|
||
template <typename T, size_t N> | ||
struct array_helper<T,N> | ||
{ | ||
typedef std::array<T,N> type; | ||
}; | ||
|
||
} | ||
|
||
template <typename T, size_t... N> | ||
using array = typename detail::array_helper<T,N...>::type; | ||
|
||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.