std::move_constructible(3cxx)
π NAME π
std::move_constructible β the concept from [concept.moveconstructible], aka concept move_constructible. It lives in the libstdc++ 3cxx manual, bestie, and it's literally the vibe check for "can I move this thing into existence?"
β¨ SYNOPSIS β¨
First things first, you gotta pull in the header:
#include <concepts>
That's it. That's the door. πͺβ¨
π Concept definition π
Here's the actual definition, copy-pasted straight from the source because we do not mess with the lore:
template<typename _Tp>
concept std::move_constructible = constructible_from<_Tp, _Tp> && convertible_to<_Tp, _Tp>
So what's it giving? It's giving both: constructible_from<_Tp, _Tp> and convertible_to<_Tp, _Tp>. Two conditions, one concept, no cap. π
πΈ DETAILED DESCRIPTION πΈ
[concept.moveconstructible], concept move_constructible.
That's the whole description, bestie β it's short and it knows it. π
π«Ά AUTHOR π«Ά
Generated automatically by Doxygen for libstdc++ from the source code. Not a human, just a very diligent robot doing its thing. π€β¨
Lowkey iconic that a whole concept can be this tiny and still carry so much weight. move_constructible said "I contain multitudes" and then contained exactly two requirements. π
okay that's the whole page, mwah π This little write-up is from the libstdc++ manual (section 3cxx), and yeah, the author credit belongs to Doxygen β it auto-generated this page from the source code, so go thank the robot. ππ¦πΈ
π¦ where this page comes from
- ubuntu resolute: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu resolute: libstdc++-13-doc 13.4.0-10ubuntu1
- ubuntu resolute: libstdc++-16-doc 16-20260322-1ubuntu1
- ubuntu stonking: libstdc++-12-doc 12.5.0-9ubuntu1
- ubuntu stonking: libstdc++-13-doc 13.5.0-1ubuntu1
- ubuntu stonking: libstdc++-16-doc 16.2.0-3ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms