#include <cassert>
#include <functional>
#include <initializer_list>
#include <memory>
#include <type_traits>
#include <utility>
#include "my_compiler.h"
Go to the source code of this file.
|
template<class E > |
| stdx::unexpected (E) -> unexpected< E > |
|
template<class NewT , class OldT , class... Args> |
constexpr void | stdx::impl::reinit_expected (NewT *new_val, OldT *old_val, Args &&... args) |
|
template<class Exp , class Func , typename value_type = typename std::decay_t<Exp>::value_type>
requires (std::is_void_v<value_type> ? std::is_invocable_v<Func> : std::is_invocable_v<Func, value_type>) |
constexpr auto | stdx::base::and_then_impl (Exp &&exp, Func &&func) |
|
template<class Exp , class Func , typename error_type = typename std::decay_t<Exp>::error_type>
requires std::is_invocable_v<Func, error_type> |
constexpr auto | stdx::base::or_else_impl (Exp &&exp, Func &&func) |
|
template<class Exp , class Func > |
constexpr auto | stdx::expected_transform_impl (Exp &&exp, Func &&func) |
|
◆ LIKELY
#define LIKELY |
( |
|
x | ) |
(x) [[likely]] |