ROOT  6.06/08
Reference Guide
Namespaces | Functions
impl_tuple_apply.h File Reference
#include <functional>
+ Include dependency graph for impl_tuple_apply.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 std::detail
 

Functions

template<class F , class... Args>
auto std::detail::INVOKE (F &&f, Args &&... args) -> decltype(std::forward< F >(f)(std::forward< Args >(args)...))
 
template<class Base , class T , class Derived >
auto std::detail::INVOKE (T Base::*pmd, Derived &&ref) -> decltype(std::forward< Derived >(ref).*pmd)
 
template<class PMD , class Pointer >
auto std::detail::INVOKE (PMD pmd, Pointer &&ptr) -> decltype((*std::forward< Pointer >(ptr)).*pmd)
 
template<class Base , class T , class Derived , class... Args>
auto std::detail::INVOKE (T Base::*pmf, Derived &&ref, Args &&... args) -> decltype((std::forward< Derived >(ref).*pmf)(std::forward< Args >(args)...))
 
template<class PMF , class Pointer , class... Args>
auto std::detail::INVOKE (PMF pmf, Pointer &&ptr, Args &&... args) -> decltype(((*std::forward< Pointer >(ptr)).*pmf)(std::forward< Args >(args)...))
 
template<class F , class... ArgTypes>
decltype(auto) std::invoke (F &&f, ArgTypes &&... args)
 
template<class F , class Tuple , std::size_t... I>
decltype(auto) constexpr std::detail::apply_impl (F &&f, Tuple &&t, std::index_sequence< I... >)
 
template<class F , class Tuple >
decltype(auto) constexpr std::apply (F &&f, Tuple &&t)
 

Detailed Description

Author
Axel Naumann axel@.nosp@m.cern.nosp@m..ch
Date
2015-07-09
Warning
This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!

Definition in file impl_tuple_apply.h.

Function Documentation

§ apply()

template<class F , class Tuple >
decltype(auto) constexpr std::apply ( F &&  f,
Tuple &&  t 
)

Definition at line 74 of file impl_tuple_apply.h.

§ invoke()

template<class F , class... ArgTypes>
decltype(auto) std::invoke ( F &&  f,
ArgTypes &&...  args 
)

Definition at line 58 of file impl_tuple_apply.h.

Referenced by std::detail::apply_impl().