Loading...
Searching...
No Matches
ranges::optional_should_convert Concept Reference

The `optional_should_convert` concept. More...

`#include <range/v3/utility/optional.hpp>`

## Concept definition

template<typename U, typename T>
concept ranges::optional_should_convert =
!(
constructible_from<T, optional<U> & > ||
constructible_from<T, optional<U> && > ||
constructible_from<T, optional<U> const & > ||
constructible_from<T, optional<U> const &&> ||
convertible_to<optional<U> &, T> ||
convertible_to<optional<U> &&, T> ||
convertible_to<optional<U> const &, T> ||
convertible_to<optional<U> const &&, T>
)
ranges::optional_should_convert
The optional_should_convert concept.
Definition optional.hpp:476

## Detailed Description

The `optional_should_convert` concept.