VLink  2.0.0
A high-performance communication middleware
vlink::format::FormatToNResult< OutputItT > 模板结构体 参考

Return type of format_to_n; carries the end iterator, total size and truncation flag. 更多...

#include <format.h>

vlink::format::FormatToNResult< OutputItT > 的协作图:

Public 属性

OutputItT out
 Iterator one past the last written character. 更多...
 
size_t size {0}
 Total characters that the format would have written. 更多...
 
bool truncated {false}
 true when the output was truncated because size > n. 更多...
 

详细描述

template<typename OutputItT>
struct vlink::format::FormatToNResult< OutputItT >

Return type of format_to_n; carries the end iterator, total size and truncation flag.

模板参数
OutputItTIterator or pointer type used for output.

类成员变量说明

◆ out

template<typename OutputItT >
OutputItT vlink::format::FormatToNResult< OutputItT >::out

Iterator one past the last written character.

◆ size

template<typename OutputItT >
size_t vlink::format::FormatToNResult< OutputItT >::size {0}

Total characters that the format would have written.

◆ truncated

template<typename OutputItT >
bool vlink::format::FormatToNResult< OutputItT >::truncated {false}

true when the output was truncated because size > n.


该结构体的文档由以下文件生成: