std::relation(3cxx)

πŸ“¦
version 16-20260322 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– 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. πŸ’–βœ¨