DIY  3.0
data-parallel out-of-core C++ library
 All Classes Namespaces Functions Typedefs Groups Pages
Public Member Functions | List of all members
fmt::FormatInt Class Reference

#include <diy/fmt/format.h>

Public Member Functions

 FormatInt (int value)
 
 FormatInt (long value)
 
 FormatInt (LongLong value)
 
 FormatInt (unsigned value)
 
 FormatInt (unsigned long value)
 
 FormatInt (ULongLong value)
 
std::size_t size () const
 
const char * data () const
 
const char * c_str () const
 
std::string str () const
 

Detailed Description

Fast integer formatter.

Member Function Documentation

const char* fmt::FormatInt::c_str ( ) const
inline

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

const char* fmt::FormatInt::data ( ) const
inline

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

std::size_t fmt::FormatInt::size ( ) const
inline

Returns the number of characters written to the output buffer.

std::string fmt::FormatInt::str ( ) const
inline

Returns the content of the output buffer as an std::string.


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