std::experi...ctWeakOrder(3)
π NAME π
okay so bestie, welcome to std::experi...ctWeakOrder(3) from the C++ Standard Libary manual π thatβs the manual name as printed, and we respect the source. The NAME block is literally giving main character energy and says this, exactly:
std::experimental::ranges::StrictWeakOrder -
std::experimental::ranges::StrictWeakOrder
So yes, the full name appears twice, with a dash between them. No cap, thatβs the whole NAME vibe. π
β¨ Synopsis β¨
Defined in header <experimental/ranges/concepts> β write it down, bestie, this is important.
template< class R, class T, class U > (1) (ranges TS)
concept bool StrictWeakOrder = Relation<R, T, U>;
The concept StrictWeakOrder<R, T, U> specifies that the Relation R imposes a strict weak ordering on its arguments. A relation r is a strict weak ordering if:
- it is irreflexive: for all
x,r(x, x)isfalse; - it is transitive: for all
a,bandc, ifr(a, b)andr(b, c)are bothtruethenr(a, c)istrue; - let
e(a, b)be!r(a, b) && !r(b, a), theneis transitive:e(a, b) && e(b, c)impliese(a, c).
Under these conditions, it can be shown that e is an equivalence relation, and r induces a strict total ordering on the equivalence classes determined by e. Thatβs the whole glow-up, fr fr. π
π Notes π
The distinction between Relation and StrictWeakOrder is purely semantic. Thatβs it, thatβs the note, periodt. π«Ά
okay byeee bestie π source/version/date moment: http://cppreference.com, version/date 2024.06.10, and the footer title is std::experi...ctWeakOrder(3). slay, you ate. π
β¨
π¦ where this page comes from
- nixpkgs unstable: stdman 2024.07.05
- opensuse-leap 16.0: stdman 2024.07.05-bp160.1.9 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms