Rcpp Version 1.0.7
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


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 852 of file tinyformat.h.

Constructor & Destructor Documentation

◆ FormatList()

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

Definition at line 855 of file tinyformat.h.

Friends And Related Function Documentation

◆ vformat

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

Member Data Documentation

◆ m_formatters

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

Definition at line 862 of file tinyformat.h.

Referenced by tinyformat::vformat().

◆ m_N

int tinyformat::FormatList::m_N

Definition at line 863 of file tinyformat.h.

Referenced by tinyformat::vformat().

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