forked from Alepha/Alepha
Tuple concatenation.
This commit is contained in:
24
Meta/tuple_cat.h
Normal file
24
Meta/tuple_cat.h
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
static_assert( __cplusplus > 2020'99 );
|
||||||
|
|
||||||
|
#pragma once
|
||||||
|
|
||||||
|
#include <Alepha/Alepha.h>
|
||||||
|
|
||||||
|
#include <tuple>
|
||||||
|
|
||||||
|
#include <Alepha/type_lisp.h>
|
||||||
|
|
||||||
|
namespace Alepha::Hydrogen::Meta ::detail:: tuple_cat_m
|
||||||
|
{
|
||||||
|
inline namespace exports
|
||||||
|
{
|
||||||
|
template< typename Left, typename Right >
|
||||||
|
using tuple_cat_t= tuple_from_list_t< list_cat_t< list_from_tuple_t< Left >, list_from_tuple_t< Right > > >;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
namespace Alepha::Hydrogen::Meta::inline exports::inline tuple_cat_m
|
||||||
|
{
|
||||||
|
using namespace detail::tuple_cat_m::exports;
|
||||||
|
}
|
||||||
|
|
||||||
Reference in New Issue
Block a user