Adobe Source Libraries 1.49.0
A collection of C++ libraries.
Loading...
Searching...
No Matches
get_element< I, T > Struct Template Reference

#include <functional.hpp>

Public Member Functions

auto operator() (T &x) const -> std::tuple_element_t< I, T > &
auto operator() (const T &x) const -> const std::tuple_element_t< I, T > &

Detailed Description

template<std::size_t I, class T = void>
struct adobe::get_element< I, T >

Definition at line 194 of file functional.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<std::size_t I, class T = void>
auto operator() ( T & x) const -> std::tuple_element_t<I, T>&

Definition at line 195 of file functional.hpp.

◆ operator()() [2/2]

template<std::size_t I, class T = void>
auto operator() ( const T & x) const -> const std::tuple_element_t<I, T>&

Definition at line 199 of file functional.hpp.