Lines Matching refs:U
64 template <typename U>
65 constexpr expected_data(U&& either, expected_tag_right)
66 : right_{std::forward<U>(either)}, is_right_{true} {}
68 template <typename U>
69 constexpr expected_data(U&& either, expected_tag_error)
70 : error_{std::forward<U>(either)}, is_right_{false} {}
211 template <typename U>
212 constexpr expected_data(U&& either, expected_tag_right)
213 : right_{std::forward<U>(either)}, is_right_{true} {}
215 template <typename U>
216 constexpr expected_data(U&& either, expected_tag_error)
217 : error_{std::forward<U>(either)}, is_right_{false} {}
265 template <typename U = T, typename _ = std::enable_if_t<std::is_default_constructible_v<U>>>
378 template <typename U>
379 constexpr auto operator()(U&& v) const noexcept {
380 return std::forward<U>(v);