Bitcoin Core 28.99.0
P2P Digital Currency
Public Member Functions | Private Attributes | Friends | List of all members
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 955 of file tinyformat.h.

Constructor & Destructor Documentation

◆ FormatList()

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

Definition at line 958 of file tinyformat.h.

Friends And Related Function Documentation

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

◆ m_N

int tinyformat::FormatList::m_N
private

Definition at line 966 of file tinyformat.h.


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