Range-v3: ranges::optional_should_convert_assign Concept Reference

Range-v3 Range algorithms, views, and actions for the Standard Library |

ranges::optional_should_convert_assign Concept Reference

The `optional_should_convert_assign` concept. More...

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

## Concept definition

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

## Detailed Description

The `optional_should_convert_assign` concept.