format

The contents of this module can be included with the header hpx/modules/format.hpp. These headers may be used by user-code but are not guaranteed stable (neither header location nor contents). You are using these at your own risk. If you wish to use non-public functionality from a module we strongly suggest only including the module header hpx/modules/format.hpp, not the particular header in which the functionality you would like to use is defined. See Public API for a list of names that are part of the public HPX API.

Defines

DECL_TYPE_SPECIFIER(Type, Spec)
namespace hpx
namespace util

Functions

template<typename ...Args>
std::string format(boost::string_ref format_str, Args const&... args)
template<typename ...Args>
std::ostream &format_to(std::ostream &os, boost::string_ref format_str, Args const&... args)
template<typename Range>
detail::format_join<Range> format_join(Range const &range, boost::string_ref delimiter)
namespace hpx
namespace util
class bad_lexical_cast : public bad_cast

Public Functions

bad_lexical_cast()
const char *what() const
virtual ~bad_lexical_cast()
bad_lexical_cast(std::type_info const &source_type_arg, std::type_info const &target_type_arg)
std::type_info const &source_type() const
std::type_info const &target_type() const

Private Members

std::type_info const *source
std::type_info const *target
namespace hpx
namespace util

Functions

template<typename T, typename Char>
T from_string(std::basic_string<Char> const &v)
template<typename T, typename U, typename Char>
T from_string(std::basic_string<Char> const &v, U &&default_value)
template<typename T>
T from_string(std::string const &v)
template<typename T, typename U>
T from_string(std::string const &v, U &&default_value)
namespace hpx
namespace util

Functions

template<typename T>
std::string to_string(T const &v)