Update expected.md

This commit is contained in:
Peter Dimov
2017-06-03 14:57:30 +03:00
committed by GitHub
parent be5f19f7cf
commit 2b86468e67

View File

@ -102,12 +102,12 @@
unexpected_<E...> unexpected() const;
template<class E2> constexpr E2 error() const noexcept;
constexpr mp_first<expected> error() const noexcept;
constexpr /*see below*/ error() const noexcept;
// error mapping
template<class F> /*see below*/ remap_errors( F&& f ) const;
expected<T, std::error_code> remap_errors();
expected<T, std::error_code> remap_errors() const;
// then
@ -123,13 +123,13 @@
template<class T, class... E>
inline void swap( expected<T, E...>& x1, expected<T, E...>& x2 ) noexcept( /*see below*/ );
} // namespace variant2
} // namespace boost
// is_expected
template<class T> struct is_expected;
} // namespace variant2
} // namespace boost
## Reference
...