libstdc++
std::assignable_from Concept Reference

Concept definition

template<typename _Lhs, typename _Rhs>
concept std::assignable_from = is_lvalue_reference_v<_Lhs>
&& requires(_Lhs __lhs, _Rhs&& __rhs) {
{ __lhs = static_cast<_Rhs&&>(__rhs) } -> same_as<_Lhs>;
}
[concept.same], concept same_as
Definition: concepts:63
[concept.commonref], concept common_reference_with
Definition: concepts:78
[concept.assignable], concept assignable_from
Definition: concepts:124

Detailed Description

[concept.assignable], concept assignable_from

Definition at line 123 of file concepts.