All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
my Namespace Reference

Classes

class  MyTuple
 

Functions

template<typename... Data>
auto make_my_tuple (Data &&...data)
 
template<std::size_t I, typename... T>
auto get (MyTuple< T...> const &t) -> decltype(auto)
 

Function Documentation

template<std::size_t I, typename... T>
auto my::get ( MyTuple< T...> const &  t) -> decltype(auto)

Definition at line 316 of file TupleLookupByTag_test.cc.

317  { return t.template get<I>(); }
template<typename... Data>
auto my::make_my_tuple ( Data &&...  data)

Definition at line 311 of file TupleLookupByTag_test.cc.

312  { return MyTuple<Data...>{ std::forward<Data>(data)... }; }