Range-v3
Range algorithms, views, and actions for the Standard Library
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>
!(
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>
)
The optional_should_convert concept.
Definition: optional.hpp:476

Detailed Description

The optional_should_convert concept.