DEV: meta reshape
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
|
||||
#include <utl/core/impl.h>
|
||||
#include <utl/meta/integral.h>
|
||||
#include <utl/meta/sfinae.h>
|
||||
|
||||
/*!
|
||||
* \ingroup meta
|
||||
@@ -74,15 +73,10 @@ namespace meta{
|
||||
//! @{
|
||||
|
||||
//! Select the first type of a type sequence
|
||||
template <typename T1, typename ...>
|
||||
struct first_of {
|
||||
using type = T1;
|
||||
};
|
||||
template <typename T1, typename ...> using first_of = T1;
|
||||
|
||||
//! Select the second type of a type sequence
|
||||
template <typename T1, typename T2, typename ...>
|
||||
struct second_of {
|
||||
using type = T2;
|
||||
};
|
||||
template <typename T1, typename T2, typename ...> using second_of = T2;
|
||||
|
||||
//! @}
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user