#include <string>
#include <sstream>
#include <map>
Go to the source code of this file.
Namespaces | |
namespace | s11n |
namespace | s11n::Detail |
namespace | s11n::Detail::Private |
Classes | |
struct | s11n::Detail::variant |
variant provides a really convenient way to lexically cast strings and other streamable types to/from each other. More... | |
Defines | |
#define | s11n_net_s11n_VARIANT_HPP_INCLUDED 1 |
Functions | |
template<typename value_type> | |
value_type | s11n::Detail::Private::from_string (const std::string &str, const value_type &errorVal) throw () |
Lexically casts str to a value_type, returning errorVal if the conversion fails. | |
template<typename value_type> | |
std::string | s11n::Detail::Private::to_string (const value_type &obj) throw () |
Returns a string representation of the given object, which must be ostreamble. | |
std::string | s11n::Detail::Private::from_string (const std::string &str, const std::string &) throw () |
Convenience/efficiency overload. | |
std::string | s11n::Detail::Private::from_string (const char *str, const char *) throw () |
Convenience/efficiency overload. | |
std::string | s11n::Detail::Private::to_string (const char *obj) throw () |
Convenience/efficiency overload. | |
std::string | s11n::Detail::Private::to_string (const std::string &obj) throw () |
Convenience/efficiency overload. |
|
Definition at line 2 of file variant.hpp. |