Skip to content
This repository was archived by the owner on Jan 26, 2024. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions 3rd_party/include/opentracing/expected/expected.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -778,13 +778,13 @@ class expected
// expected<decltype(func(declval<T>())),E> map(F&& func) ;

// template <typename F>
// see below bind(F&& func);
// 'see below' bind(F&& func);

// template <typename F>
// expected<T,E> catch_error(F&& f);

// template <typename F>
// see below then(F&& func);
// 'see below' then(F&& func);

private:
bool has_value_;
Expand Down Expand Up @@ -955,9 +955,9 @@ class expected<void, E>
return ! has_value() && std::is_base_of< Ex, decltype( get_unexpected().value() ) >::value;
}

// template constexpr see below unwrap() const&;
// template constexpr 'see below' unwrap() const&;
//
// template see below unwrap() &&;
// template 'see below' unwrap() &&;

// factories

Expand All @@ -968,13 +968,13 @@ class expected<void, E>
// expected<decltype(func()), E> map(F&& func) ;
//
// template <typename F>
// see below bind(F&& func) ;
// 'see below' bind(F&& func) ;
//
// template <typename F>
// expected<void,E> catch_error(F&& f);
//
// template <typename F>
// see below then(F&& func);
// 'see below' then(F&& func);

private:
bool has_value_;
Expand Down