staticlib_support  1.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups
Namespaces | Functions
to_string.hpp File Reference
#include <sstream>
#include <string>
#include "staticlib/config.hpp"

Go to the source code of this file.

Namespaces

namespace  staticlib
namespace  staticlib::support

Functions

template<typename T >
std::string staticlib::support::to_string_any (const T &obj)
 Generic to_string implementation.
template<typename T >
std::string staticlib::support::to_string (const T &obj)
 Generic to_string implementation, already exists as std::to_string in most C++11 compilers except GCC 4.8 on Android.
std::string staticlib::support::to_string_bool (bool val)
 Converts bool value to "true" or "false" string.