CGRA-ME
Public Types | Public Member Functions | List of all members
ImplicitTuple< CArgs > Struct Template Reference

#include <TupleHash.h>

Inheritance diagram for ImplicitTuple< CArgs >:

Public Types

using Base = std::tuple< CArgs... >
 

Public Member Functions

template<typename Arg >
 ImplicitTuple (Arg &&arg)
 
 ImplicitTuple (Base arg)
 
template<typename Arg1 , typename... Args>
 ImplicitTuple (Arg1 &&arg1, Args &&... args)
 

Detailed Description

template<typename... CArgs>
struct ImplicitTuple< CArgs >

C++14's tuple doesn't support any sort of implicit construction. Should not be needed if we upgrade to C++17 Also, try not to use for too many things, as you can't easily convert from std::vector<ImplicitTuple<...>> to std::vector<std::tuple<...>> for example.

Definition at line 105 of file TupleHash.h.

Member Typedef Documentation

◆ Base

template<typename... CArgs>
using ImplicitTuple< CArgs >::Base = std::tuple<CArgs...>

Definition at line 106 of file TupleHash.h.

Constructor & Destructor Documentation

◆ ImplicitTuple() [1/3]

template<typename... CArgs>
template<typename Arg >
ImplicitTuple< CArgs >::ImplicitTuple ( Arg &&  arg)
inlineexplicit

Definition at line 109 of file TupleHash.h.

◆ ImplicitTuple() [2/3]

template<typename... CArgs>
ImplicitTuple< CArgs >::ImplicitTuple ( Base  arg)
inline

Definition at line 111 of file TupleHash.h.

◆ ImplicitTuple() [3/3]

template<typename... CArgs>
template<typename Arg1 , typename... Args>
ImplicitTuple< CArgs >::ImplicitTuple ( Arg1 &&  arg1,
Args &&...  args 
)
inline

Definition at line 114 of file TupleHash.h.


The documentation for this struct was generated from the following file: