Rcpp Version 1.1.2
Loading...
Searching...
No Matches
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 852 of file tinyformat.h.

Constructor & Destructor Documentation

◆ FormatList()

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

Definition at line 855 of file tinyformat.h.

References m_formatters, and m_N.

Referenced by tinyformat::detail::FormatListN< 0 >::FormatListN(), and vformat.

◆ vformat

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

References FormatList().

Member Data Documentation

◆ m_formatters

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

Definition at line 862 of file tinyformat.h.

Referenced by FormatList(), and tinyformat::vformat().

◆ m_N

int tinyformat::FormatList::m_N
private

Definition at line 863 of file tinyformat.h.

Referenced by FormatList(), and tinyformat::vformat().


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