Template Function tl::swap
Defined in File expected.hpp
Function Documentation
Warning
doxygenfunction: Unable to resolve function “tl::swap” with arguments “(expected<T, E>&, expected<T, E>&)”. Candidate function could not be parsed. Parsing error is Invalid C++ declaration: Expecting “,” or “)” in parameters-and-qualifiers, got “|”. [error at 24] (std::is_void<T>::value || std::is_move_constructible<T>::value) && detail::is_swappable<T>::value && std::is_move_constructible<E>::value && detail::is_swappable<E>::value>* = nullptr> void swap(expected<T, E> &lhs, expected<T, E> &rhs) noexcept(noexcept(lhs.swap(rhs))) ————————^