NIM 跨平台 C++ SDK
载入中...
搜索中...
未找到
ne_stl_tuple.h 文件参考
#include "ne_stl_any.h"
#include "ne_stl_build.h"
#include "ne_stl_continuous_container.h"
#include "ne_stl_memory.h"

浏览源代码.

struct  nstd::int_sequence< Ns >
 
struct  nstd::int_sequence_gen< I, Ns... >
 
struct  nstd::int_sequence_gen< 0, Ns... >
 
struct  nstd::tuple<>
 
struct  nstd::tuple< T, TArgs... >
 
struct  nstd::tuple_at< N, tuple< T, TArgs... > >
 
struct  nstd::tuple_at< 0, tuple< T, TArgs... > >
 

命名空间

namespace  nstd
 

类型定义

template<int32_t N>
using nstd::sequence_t = typename int_sequence_gen<N>::type
 

函数

template<uint32_t N, typename... TArgs>
const tuple_at< N, tuple< TArgs... > >::value_type & nstd::tuple_get (const tuple< TArgs... > &tuple_)
 
template<uint32_t N, typename... TArgs>
tuple_at< N, tuple< TArgs... > >::value_type nstd::tuple_get (tuple< TArgs... > &tuple_)
 
template<typename... Type>
tuple< Type... > nstd::make_tuple (const Type &... args)
 
template<typename TTuple , uint32_t... Ns>
auto nstd::extract_tuple (TTuple &tup) -> decltype(make_tuple(tuple_get< Ns >(tup)...))
 
template<uint32_t... Ns, typename... TArgs>
auto nstd::extract_tuple (tuple< TArgs... > &tup) -> decltype(make_tuple(tuple_get< Ns >(tup)...))