#include <cstdint>
#include <memory>
#include <string>
#include <system_error>
#include <utility>
转到此文件的源代码。
|  | 
| std::string | xgboost::collective::detail::MakeMsg (std::string &&msg, char const *file, std::int32_t line) | 
|  | 
| Result | xgboost::collective::operator+ (Result &&lhs, Result &&rhs) | 
|  | 
| auto | xgboost::collective::Success () noexcept(true) | 
|  | 返回成功。 更多... 
 | 
|  | 
| auto | xgboost::collective::Fail (std::string msg, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) | 
|  | 返回失败。 更多... 
 | 
|  | 
| auto | xgboost::collective::Fail (std::string msg, std::error_code errc, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) | 
|  | 返回带有 errno的失败。 更多...
 | 
|  | 
| auto | xgboost::collective::Fail (std::string msg, Result &&prev, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) | 
|  | 返回带有先前错误的失败。 更多... 
 | 
|  | 
| auto | xgboost::collective::Fail (std::string msg, std::error_code errc, Result &&prev, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) | 
|  | 返回带有先前错误和新 errno的失败。 更多...
 | 
|  | 
| 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, char const *file=__builtin_FILE(), std::int32_t line=__builtin_LINE()) | 
|  | 
◆ __builtin_FILE
      
        
          | #define __builtin_FILE | ( |  | ) | nullptr | 
      
 
 
◆ __builtin_LINE
      
        
          | #define __builtin_LINE | ( |  | ) | (-1) |