VIPRA Documentation
Loading...
Searching...
No Matches
include
vipra
util
get_nth_value.hpp
1
#pragma once
2
3
#include <tuple>
4
5
namespace
VIPRA::Util {
14
template
<std::size_t n,
typename
... values>
15
constexpr
auto
get_nth_value(values&&... vals) ->
decltype
(
auto
)
16
{
17
return
std::get<n>(std::forward_as_tuple(std::forward<values>(vals)...));
18
}
19
}
// namespace VIPRA::Util
Generated by
1.13.2