table of contents
std::common_with(3cxx) | std::common_with(3cxx) |
NAME¶
std::common_with - [concept.common], concept common_with
SYNOPSIS¶
Concept definition¶
template<typename _Tp, typename _Up> concept std::common_with = same_as<common_type_t<_Tp, _Up>, common_type_t<_Up, _Tp>>
&& requires {
static_cast<common_type_t<_Tp, _Up>>(std::declval<_Tp>());
static_cast<common_type_t<_Tp, _Up>>(std::declval<_Up>());
}
&& common_reference_with<add_lvalue_reference_t<const _Tp>,
add_lvalue_reference_t<const _Up>>
&& common_reference_with<add_lvalue_reference_t<common_type_t<_Tp, _Up>>,
common_reference_t<
add_lvalue_reference_t<const _Tp>,
add_lvalue_reference_t<const _Up>>>
Detailed Description¶
[concept.common], concept common_with
Definition at line 84 of file concepts.
Author¶
Generated automatically by Doxygen for libstdc++ from the source code.
Sun Jan 8 2023 | libstdc++ |