Iros
Loading...
Searching...
No Matches
tuple_value.h
Go to the documentation of this file.
1
#pragma once
2
3
#include "
di/types/size_t.h
"
4
#include "
di/util/declval.h
"
5
#include "
di/util/get.h
"
6
#include "
di/vocab/tuple/tuple_like.h
"
7
8
namespace
di::meta
{
9
template
<concepts::TupleLike Tup, types::
size_t
index>
10
using
TupleValue
=
decltype
(
util::get<index>
(
util::declval<Tup>
()));
11
}
declval.h
size_t.h
get.h
di::meta
Definition
merge_interfaces.h:6
di::meta::TupleValue
decltype(util::get< index >(util::declval< Tup >())) TupleValue
Definition
tuple_value.h:10
di::util::get
constexpr auto get(T &&value) -> decltype(auto)
Definition
get.h:8
di::util::declval
auto declval() -> meta::AddRValueReference< T >
Definition
declval.h:8
tuple_like.h
libs
di
include
di
vocab
tuple
tuple_value.h
Generated by
1.13.0