std::relation(3cxx)
π std::relation π
okay so bestie, welcome to std::relation, and the manual we're living in is 3cxx. this is a C++ concept page, and it's giving very specific "relation behavior check" energy. no cap. π
β¨ NAME β¨
std::relationβ the[concept.relation]concept, aka concept relation. periodt. π
πΈ SYNOPSIS πΈ
first, include the concepts header, because obviously:
#include <concepts>
π¦ Concept definition π¦
template<typename _Rel, typename _Tp, typename _Up>
concept std::relation = predicate<_Rel, _Tp, _Tp> && predicate<_Rel, _Up, _Up>
&& predicate<_Rel, _Tp, _Up> && predicate<_Rel, _Up, _Tp>
so like, _Rel has to be a predicate for _Tp with _Tp, _Up with _Up, _Tp with _Up, and _Up with _Tp. all four combos, bestie. it's literally right there in the concept definition. β¨
π Detailed Description π
[concept.relation], concept relation. that's the tea. π«Ά
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. iconic behavior, honestly. π
that's the whole page, bestie! this one comes from libstdc++, and it's the std::relation(3cxx) manual page β date? not listed here, so we're not gonna invent one. periodt. πβ¨
π¦ 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