hyperledger/iroha
Iroha - A simple, decentralized ledger http://iroha.tech
iroha::to_string Namespace Reference

Namespaces

 detail
 

Functions

std::string toString (const std::string &o)
 
template<typename T >
auto 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 toString (const std::reference_wrapper< T... > &o)
 
template<typename... T>
std::string toString (const std::optional< T... > &o)
 
template<typename... T>
std::string toString (const std::unique_ptr< T... > &o)
 
template<typename... T>
std::string toString (const std::shared_ptr< T... > &o)
 
template<typename T >
std::string toString (const T *o)
 
template<typename T , typename = decltype(*std::declval<T>().begin())>
std::string toString (const T &c)
 Print a plain collection. More...
 

Function Documentation

◆ toString() [1/8]

std::string iroha::to_string::toString ( const std::string &  o)
inline
Here is the caller graph for this function:

◆ toString() [2/8]

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>
inline
Here is the call graph for this function:

◆ toString() [3/8]

template<typename... T>
std::string iroha::to_string::toString ( const std::reference_wrapper< T... > &  o)
inline
Here is the call graph for this function:

◆ toString() [4/8]

template<typename... T>
std::string iroha::to_string::toString ( const std::optional< T... > &  o)
inline
Here is the call graph for this function:

◆ toString() [5/8]

template<typename... T>
std::string iroha::to_string::toString ( const std::unique_ptr< T... > &  o)
inline
Here is the call graph for this function:

◆ toString() [6/8]

template<typename... T>
std::string iroha::to_string::toString ( const std::shared_ptr< T... > &  o)
inline
Here is the call graph for this function:

◆ toString() [7/8]

template<typename T >
std::string iroha::to_string::toString ( const T *  o)
inline
Here is the call graph for this function:

◆ toString() [8/8]

template<typename T , typename = decltype(*std::declval<T>().begin())>
std::string iroha::to_string::toString ( const T &  c)
inline

Print a plain collection.

Here is the call graph for this function:
Here is the caller graph for this function: