quill
Public Member Functions | List of all members
format_int Class Reference

A fast integer formatter. More...

#include <format.h>

Public Member Functions

FMTQUILL_CONSTEXPR20 format_int (int value)
 
FMTQUILL_CONSTEXPR20 format_int (long value)
 
FMTQUILL_CONSTEXPR20 format_int (long long value)
 
FMTQUILL_CONSTEXPR20 format_int (unsigned value)
 
FMTQUILL_CONSTEXPR20 format_int (unsigned long value)
 
FMTQUILL_CONSTEXPR20 format_int (unsigned long long value)
 
FMTQUILL_CONSTEXPR20 auto size () const -> size_t
 Returns the number of characters written to the output buffer.
 
FMTQUILL_CONSTEXPR20 auto data () const -> const char *
 Returns a pointer to the output buffer content. More...
 
FMTQUILL_CONSTEXPR20 auto c_str () const -> const char *
 Returns a pointer to the output buffer content with terminating null character appended. More...
 
auto str () const -> std::string
 Returns the content of the output buffer as an std::string.
 

Detailed Description

A fast integer formatter.

Member Function Documentation

◆ c_str()

FMTQUILL_CONSTEXPR20 auto format_int::c_str ( ) const -> const char*
inline

Returns a pointer to the output buffer content with terminating null character appended.

◆ data()

FMTQUILL_CONSTEXPR20 auto format_int::data ( ) const -> const char*
inline

Returns a pointer to the output buffer content.

No terminating null character is appended.


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