#include <cstdint>
#include <memory>
#include <string>
#include <system_error>
#include <utility>
Go to the source code of this file.
|
std::string | xgboost::collective::detail::MakeMsg (std::string &&msg, char const *, std::int32_t) |
|
Result | xgboost::collective::operator+ (Result &&lhs, Result &&rhs) |
|
auto | xgboost::collective::Success () noexcept(true) |
| Return success. More...
|
|
auto | xgboost::collective::Fail (std::string msg, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) |
| Return failure. More...
|
|
auto | xgboost::collective::Fail (std::string msg, std::error_code errc, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) |
| Return failure with errno . More...
|
|
auto | xgboost::collective::Fail (std::string msg, Result &&prev, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) |
| Return failure with a previous error. More...
|
|
auto | xgboost::collective::Fail (std::string msg, std::error_code errc, Result &&prev, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) |
| Return failure with a previous error and a new errno . More...
|
|
template<typename Fn > |
std::enable_if_t< std::is_invocable_v< Fn >, Result > | xgboost::collective::operator<< (Result &&r, Fn &&fn) |
|
void | xgboost::collective::SafeColl (Result const &rc) |
|
◆ __builtin_FILE
#define __builtin_FILE |
( |
| ) |
nullptr |
◆ __builtin_LINE
#define __builtin_LINE |
( |
| ) |
(-1) |