hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
to_string.hpp File Reference
#include <memory>
#include <string>
#include <boost/optional.hpp>
Include dependency graph for to_string.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 iroha
 
 iroha::to_string
 
 iroha::to_string::detail
 

Functions

template<typename T >
std::string iroha::to_string::detail::toStringDereferenced (const T &o)
 Print pointers and optionals. More...
 
std::string iroha::to_string::toString (const std::string &o)
 
template<typename T >
auto iroha::to_string::toString (const T &o) -> std::enable_if_t< std::is_same< decltype(std::to_string(o)), std::string >::value, std::string >
 
template<typename... T>
std::string iroha::to_string::toString (const std::unique_ptr< T... > &o)
 
template<typename... T>
std::string iroha::to_string::toString (const std::shared_ptr< T... > &o)
 
template<typename T >
std::string iroha::to_string::toString (const T *o)
 
template<typename T , typename = decltype(*std::declval<T>().begin())>
std::string iroha::to_string::toString (const T &c)
 Print a plain collection. More...
 
template<>
std::string iroha::to_string::detail::toStringDereferenced< boost::none_t > (const boost::none_t &)
 

Variables

const std::string iroha::to_string::detail::kBeginBlockMarker = "["
 
const std::string iroha::to_string::detail::kEndBlockMarker = "]"
 
const std::string iroha::to_string::detail::kSingleFieldsSeparator = ", "
 
const std::string iroha::to_string::detail::kNotSet = "(not set)"