Bitcoin Core 31.0.0
P2P Digital Currency
Loading...
Searching...
No Matches
tinyformat::FormatList Class Reference

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

#include <tinyformat.h>

Inheritance diagram for tinyformat::FormatList:
[legend]
Collaboration diagram for tinyformat::FormatList:
[legend]

Public Member Functions

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

Private Attributes

const detail::FormatArgm_args
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 962 of file tinyformat.h.

Constructor & Destructor Documentation

◆ FormatList()

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

Definition at line 965 of file tinyformat.h.

Here is the caller graph for this function:

◆ vformat

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

Member Data Documentation

◆ m_args

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

Definition at line 972 of file tinyformat.h.

◆ m_N

int tinyformat::FormatList::m_N
private

Definition at line 973 of file tinyformat.h.


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