cxxomfort  rel.20210622
Simple backports for C++ - http://ryan.gulix.cl/fossil.cgi/cxxomfort/
Namespaces | Functions
11-to_string.hpp File Reference

Implementation for std::to_string and allies. More...

Namespaces

 cxxomfort
 Namespace of the cxxomfort library.
 
 cxxomfort::cxxostd
 Backports made available by cxxomfort.
 

Functions

template<typename NativeType >
std::string to_string (NativeType)
 Converts an integral variable into a std::string . More...
 
static std::string to_string (unsigned int u)
 
static std::string to_string (short i)
 
static std::string to_string (unsigned short u)
 
static std::string to_string (long long i)
 
static std::string to_string (unsigned long long u)
 
static std::string to_string (long i)
 
static std::string to_string (unsigned long u)
 
static std::string to_string (float i)
 
static std::string to_string (double i)
 
static std::string to_string (long double i)
 
static unsigned long stoul (std::string const &str, size_t *pinv, int base=10)
 Converts a string expression to a unsigned long. More...
 
static unsigned long long stoull (std::string const &str, size_t *pinv, int base=10)
 Converts a string expression to a unsigned long long. More...
 
static signed long stol (std::string const &str, size_t *pinv, int base=10)
 Converts a string expression to a long. More...
 
static signed long long stoll (std::string const &str, size_t *pinv, int base=10)
 Converts a string expression to a long long. More...
 

Detailed Description

Implementation for std::to_string and allies.