Range-v3
Range algorithms, views, and actions for the Standard Library
concepts::defs::common_with_ Concept Reference

The common_with_ concept. More...

#include <concepts/concepts.hpp>

Concept definition

template<typename T, typename U>
concept concepts::defs::common_with_ = same_as<common_type_t<T U>, common_type_t<U, T>> &&
std::add_lvalue_reference_t<T const>,
std::add_lvalue_reference_t<U const>> &&
std::add_lvalue_reference_t<common_type_t<T, U>>,
common_reference_t<
std::add_lvalue_reference_t<T const>,
std::add_lvalue_reference_t<U const>>>
)
The common_reference_with concept.
Definition: concepts.hpp:915
The common_with_ concept.
Definition: concepts.hpp:920
The convertible_to concept.
Definition: concepts.hpp:891
The same_as concept.
Definition: concepts.hpp:853

Detailed Description

The common_with_ concept.