PhoenixTypeStream  0.1.0
Unified C++ type-to-string conversion framework
Loading...
Searching...
No Matches
ConvertTupleTypeToString< First, Last > Struct Template Reference

Serialise a call type into a std::string. More...

#include <phoenix_composeType.h>

+ Inheritance diagram for ConvertTupleTypeToString< First, Last >:

Static Public Member Functions

template<typename T>
static std::string getTypeToStr (const T &tupleCall)
 Create the corresponding string to a tuple.
 

Detailed Description

template<int First, int Last>
struct ConvertTupleTypeToString< First, Last >

Serialise a call type into a std::string.

Definition at line 81 of file phoenix_composeType.h.

Member Function Documentation

◆ getTypeToStr()

template<int First, int Last>
template<typename T>
static std::string ConvertTupleTypeToString< First, Last >::getTypeToStr ( const T & tupleCall)
inlinestatic

Create the corresponding string to a tuple.

Parameters
tupleCall: called tuple of function parameters
Returns
corresponding string

Definition at line 87 of file phoenix_composeType.h.

87 {
88 if(First < Last){
91 if(First + 1 < Last){
92 type += ", ";
93 }
95 return type;
96 }
97 return "";
98 }
std::string phoenix_getTypeToStr()
Get the corresponding type of a string.
Serialise a call type into a std::string.
static std::string getTypeToStr(const T &tupleCall)
Create the corresponding string to a tuple.

References getTypeToStr(), and phoenix_getTypeToStr().

Referenced by getTypeToStr().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

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