#include "generic_stream_output.hpp"
#include "register_any_stringer.hpp"
#include "types.hpp"
#include <string>
Contains xtd::to_string methods.
Go to the source code of this file.
Namespaces | |
namespace | xtd |
The xtd namespace contains all fundamental classes to access Hardware, Os, System, and more. | |
Functions | |
template<typename value_t > | |
std::string | xtd::to_string (const value_t &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const bool &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const sbyte &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const char &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const unsigned char &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const short &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const unsigned short &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const int &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const unsigned int &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const long &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const unsigned long &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const long long &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const unsigned long long &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const float &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const double &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const long double &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const std::chrono::system_clock::time_point &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const std::tm &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<typename type_t , typename Period > | |
std::string | xtd::to_string (const std::chrono::duration< type_t, Period > &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const char8 &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const char16 &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const char32 &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::string | xtd::to_string (const wchar &value, const std::string &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<typename value_t > | |
std::string | xtd::to_string (const value_t &value, const std::string &fmt) |
Convert a specified value into a string with specified format. | |
template<typename value_t > | |
std::wstring | xtd::to_string (const value_t &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const bool &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const sbyte &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const char &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const unsigned char &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const short &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const unsigned short &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const int &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const unsigned int &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const long &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const unsigned long &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const long long &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const unsigned long long &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const float &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const double &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const long double &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const std::chrono::system_clock::time_point &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const std::tm &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<typename type_t , typename Period > | |
std::wstring | xtd::to_string (const std::chrono::duration< type_t, Period > &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const std::wstring &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const char8 &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const char16 &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const char32 &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<> | |
std::wstring | xtd::to_string (const wchar &value, const std::wstring &fmt, const std::locale &loc) |
Convert a specified value into a string with specified format and locale. | |
template<typename value_t > | |
std::wstring | xtd::to_string (const value_t &value, const std::wstring &fmt) |
Convert a specified value into a string with specified format. | |