tuplify_t Struct Reference

Function that forwards its argument if only one element passed, otherwise it makes a tuple. More...

#include <atria/prelude/tuplify.hpp>

Public Member Functions

constexpr auto operator() () const -> decltype(std::tuple<>
 
template<typename InputT >
constexpr auto operator() (InputT &&in) const -> decltype(std::forward< InputT >(in))
 
template<typename InputT , typename... InputTs>
constexpr auto operator() (InputT &&in, InputTs &&...ins) const -> decltype(std::make_tuple(std::forward< InputT >(in), std::forward< InputTs >(ins)...))
 

Detailed Description

Function that forwards its argument if only one element passed, otherwise it makes a tuple.

Definition at line 39 of file tuplify.hpp.


The documentation for this struct was generated from the following file:
Fork me on GitHub