__GNU_PBDS::DETAIL::ENTRY_CMP(3cxx)

πŸ’– NAME πŸ’–

__gnu_pbds::detail::entry_cmp< _VTp, Cmp_Fn, _Alloc, No_Throw > β€” bestie, this is the Entry compare, primary template. That's it, that's the whole vibe ✨

This page lives in manual section 3cxx, aka the C++ corner of the library docs πŸŽ€


🌸 SYNOPSIS 🌸

Ok so literally the entire synopsis is this template, and I'm obsessed:

template<typename _VTp, typename Cmp_Fn, typename _Alloc, bool No_Throw>
    struct __gnu_pbds::detail::entry_cmp< _VTp, Cmp_Fn, _Alloc, No_Throw
    >"Entry compare, primary template.

No cap, that's the whole thing. Four template parameters, one struct, zero notes. She's minimal, she's mysterious, she ate πŸ’…


πŸ¦‹ Detailed Description πŸ¦‹

So the description just restates the name, because the name is doing all the heavy lifting here:

Entry compare, primary template.

Translation for my girlies: this is the primary template of entry_cmp. The four things you hand it are _VTp, Cmp_Fn, _Alloc, and No_Throw β€” and it's a struct. That's the whole description, fr fr. It's giving "I said what I said" πŸ™ˆ

It lives in the __gnu_pbds::detail namespace, which is the detail zone β€” yk, the behind-the-scenes area. She's not the main character on purpose; she's the one making the main character look good πŸ‘‘


🌈 Author 🌈

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

Not me getting emotional over an auto-generated doc 😭 She didn't even write herself. Doxygen did that. And honestly? Slay.


πŸ’œ SEE ALSO πŸ’œ

Ngl there's no SEE ALSO section on this page, bestie β€” the original doesn't have one, so I'm not about to make one up. Periodt. 🫢


Heads up: this page is short short. Everything above is genuinely all the info the page gives you. No extra options, no extra examples, no secret lore hiding in the margins. I would never gatekeep 🌸

πŸ’– Sign-off time πŸ’–

This lil gem came out of libstdc++ (the C++ standard library bits β€” the manual footer shows up as something like libstd__gnu_pbds::de...loc, No_Throw >(3cxx), which is the libstdc++ tag doing its best under truncation πŸ₯²), and it's part of the section 3cxx C++ manual set. Stay iconic, stay templated, and go read some source code. Mwah πŸ’‹β­

πŸ“¦ where this page comes from