| 1012 | /// \returns `u` if `*this` has a value, otherwise an empty optional. |
| 1013 | template <class U> |
| 1014 | constexpr optional<typename std::decay<U>::type> conjunction(U&& u) const { |
| 1015 | using result = optional<detail::decay_t<U>>; |
| 1016 | return has_value() ? result { u } : result { nullopt }; |
| 1017 | } |
| 1018 | |
| 1019 | /// \returns `rhs` if `*this` is empty, otherwise the current value. |
| 1020 | /// \group disjunction |
nothing calls this directly
no test coverage detected