VLink 2.0.0
A high-performance communication middleware
载入中...
搜索中...
未找到
vlink::format::FormatToNResult< OutputItT > 模板结构体 参考

Result type for format_to_n, carrying the output pointer, written size and truncation flag. 更多...

#include <format.h>

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

Public 属性

OutputItT out
 Pointer/iterator one past the last written character.
size_t size {0}
 Total number of characters that would have been written (may exceed n).
bool truncated {false}
 true if the output was truncated because size > n.

详细描述

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

Result type for format_to_n, carrying the output pointer, written size and truncation flag.

模板参数
OutputItTOutput iterator or pointer type.

类成员变量说明

◆ out

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

Pointer/iterator one past the last written character.

◆ size

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

Total number of characters that would have been written (may exceed n).

◆ truncated

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

true if the output was truncated because size > n.


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