Skip to content

Namespace nebula::util

Namespace List > nebula > util

Classes

Type Name
struct IsStreamable <typename T, typename>
struct IsStreamable< T, std::void_t< decltype(std::declval< std::ostream & >()<< std::declval< T >())> > <typename T>
struct bad_expected_access
struct expected <typename T, typename E>
A poor man's backport of C++23's std::expected.

Public Functions

Type Name
std::enable_if_t< IsStreamable< T >::value, std::string > to_string (const T & value)
std::string to_string (const char value)
std::string to_string (const nlohmann::ordered_json & j)
std::string to_string (const nlohmann::json & j)

Public Functions Documentation

function to_string

template<typename T>
std::enable_if_t< IsStreamable < T >::value, std::string > nebula::util::to_string (
    const T & value
) 

function to_string

template<size_t N>
std::string nebula::util::to_string (
    const char value
) 

function to_string

inline std::string nebula::util::to_string (
    const nlohmann::ordered_json & j
) 

function to_string

inline std::string nebula::util::to_string (
    const nlohmann::json & j
) 


The documentation for this class was generated from the following file nebula_common/include/nebula_common/util/expected.hpp