Otclient  14/8/2020
format.h File Reference
#include "traits.h"
#include <string>
#include <cstdio>
#include <cassert>
#include <tuple>
#include <iostream>
#include <sstream>
#include <iomanip>
Include dependency graph for format.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  stdext::expand_snprintf< N >
 
struct  stdext::expand_snprintf< 0 >
 

Namespaces

 stdext
 

Functions

template<class T >
void stdext::print_ostream (std::ostringstream &stream, const T &last)
 
template<class T , class... Args>
void stdext::print_ostream (std::ostringstream &stream, const T &first, const Args &... rest)
 
template<class... T>
void stdext::print (const T &... args)
 
template<typename T >
std::enable_if< std::is_integral< T >::value||std::is_pointer< T >::value||std::is_floating_point< T >::value||std::is_enum< T >::value, T >::type stdext::sprintf_cast (const T &t)
 
const char * stdext::sprintf_cast (const char *s)
 
const char * stdext::sprintf_cast (const std::string &s)
 
template<typename... Args>
int stdext::snprintf (char *s, size_t maxlen, const char *format, const Args &... args)
 
template<typename... Args>
int stdext::snprintf (char *s, size_t maxlen, const char *format)
 
template<typename... Args>
std::string stdext::format ()
 
template<typename... Args>
std::string stdext::format (const std::string &format)
 
template<typename... Args>
std::string stdext::format (const std::string &format, const Args &... args)