Rcpp Version 0.12.14
tinyformat::FormatList Class Reference

#include <tinyformat.h>

Inheritance diagram for tinyformat::FormatList:
Collaboration diagram for tinyformat::FormatList:

Public Member Functions

 FormatList (detail::FormatArg *formatters, int N)
 

Private Attributes

const detail::FormatArgm_formatters
 
int m_N
 

Friends

void vformat (std::ostream &out, const char *fmt, const FormatList &list)
 

Detailed Description

List of template arguments format(), held in a type-opaque way.

A const reference to FormatList (typedef'd as FormatListRef) may be conveniently used to pass arguments to non-template functions: All type information has been stripped from the arguments, leaving just enough of a common interface to perform formatting as required.

Definition at line 842 of file tinyformat.h.

Constructor & Destructor Documentation

◆ FormatList()

tinyformat::FormatList::FormatList ( detail::FormatArg formatters,
int  N 
)
inline

Definition at line 845 of file tinyformat.h.

References tinyformat::vformat().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ vformat

void vformat ( std::ostream &  out,
const char *  fmt,
const FormatList list 
)
friend

Member Data Documentation

◆ m_formatters

const detail::FormatArg* tinyformat::FormatList::m_formatters
private

Definition at line 852 of file tinyformat.h.

Referenced by tinyformat::vformat().

◆ m_N

int tinyformat::FormatList::m_N
private

Definition at line 853 of file tinyformat.h.

Referenced by tinyformat::vformat().


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