util¶
#include <hpx/util/insert_checked.hpp>
¶
-
namespace
hpx
-
namespace
util
Functions
-
template <typename Iterator>
boolinsert_checked
(std::pair<Iterator, bool> const &r)¶ Helper function for writing predicates that test whether an std::map insertion succeeded. This inline template function negates the need to explicitly write the sometimes lengthy std::pair<Iterator, bool> type.
- Return
- This function returns r.second.
- Parameters
r
: [in] The return value of a std::map insert operation.
-
template <typename Iterator>
boolinsert_checked
(std::pair<Iterator, bool> const &r, Iterator &it)¶ Helper function for writing predicates that test whether an std::map insertion succeeded. This inline template function negates the need to explicitly write the sometimes lengthy std::pair<Iterator, bool> type.
- Return
- This function returns r.second.
- Parameters
r
: [in] The return value of a std::map insert operation.r
: [out] A reference to an Iterator, which is set to r.first.
-
template <typename Iterator>
-
namespace
#include <hpx/util/calculate_fanout.hpp>
¶
-
namespace
hpx
-
namespace
util
-
namespace
#include <hpx/util/await_traits.hpp>
¶
#include <hpx/util/get_and_reset_value.hpp>
¶
-
namespace
hpx
-
namespace
util
Functions
-
namespace
#include <hpx/util/manage_config.hpp>
¶
#include <hpx/util/safe_lexical_cast.hpp>
¶
-
namespace
hpx
-
namespace
util
Functions
-
template <typename DestType, typename SrcType>
DestTypesafe_lexical_cast
(SrcType const &value, DestType const &dflt = DestType())¶
-
template <typename DestType, typename SrcType>
-
namespace