logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

std::assignable_from - [concept.assignable], concept assignable_from

Author

       Generated automatically by Doxygen for libstdc++ from the source code.

                                                    libstdc++                         std::assignable_from(3cxx)

Concept Definition

       template<typename _Lhs, typename _Rhs>
       concept std::assignable_from =  is_lvalue_reference_v<_Lhs>
             && common_reference_with<__detail::__cref<_Lhs>, __detail::__cref<_Rhs>>
             && requires(_Lhs __lhs, _Rhs&& __rhs) {
               { __lhs = static_cast<_Rhs&&>(__rhs) } -> same_as<_Lhs>;
             }

Detailed Description

       [concept.assignable], concept assignable_from

Name

       std::assignable_from - [concept.assignable], concept assignable_from

Synopsis

       #include <concepts>

See Also