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.

Header hpx/format.hpp

Header hpx/modules/format.hpp

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)

Header hpx/util/bad_lexical_cast.hpp

namespace hpx
namespace util
class bad_lexical_cast : public bad_cast
#include <bad_lexical_cast.hpp>

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

Header hpx/util/from_string.hpp

namespace hpx
namespace util

Functions

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)

Header hpx/util/to_string.hpp

namespace hpx
namespace util

Functions

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