__GNU_PBDS::DETAIL::DEFAULT_RESIZE_POLICY(3)
π NAME π
__gnu_pbds::detail::default_resize_policy< Comb_Hash_Fn > β bestie, this is the Primary template, default_resize_policy. That's the whole vibe. It's the default one. The blueprint one. The one you get when you don't go picking a special resize policy yourself. β¨
(And hey, this whole page comes out of the Library Functions Manual, so you already know it's that serious reference-manual energy. π)
πΈ SYNOPSIS πΈ
#include <standard_policies.hpp>
β¨ Public Types β¨
typedef hash_standard_resize_policy< size_policy_type, trigger, false, size_type > typeβ the Dispatched type. Like, this template doesn't do the work itself, it just points you at the real resize policy that handles the job. It's giving middle-management, but in a cute way. π
π¦ Detailed Description π¦
template<typename Comb_Hash_Fn>
struct __gnu_pbds::detail::default_resize_policy< Comb_Hash_Fn >
"Primary template, default_resize_policy."
So you've got a template that takes one parameter, Comb_Hash_Fn, and this is the primary version of it β the plain, unspecialised, catch-all definition. It's the main character template before anybody comes along with a specialised glow-up. π
π§ Member Typedef Documentation π§
template<typename Comb_Hash_Fn> typedef
hash_standard_resize_policy<size_policy_type, trigger, false, size_type>
__gnu_pbds::detail::default_resize_policy< Comb_Hash_Fn >::type
This is the Dispatched type, no cap. π«Ά
The way that default_resize_policy< Comb_Hash_Fn >::type just is hash_standard_resize_policy<size_policy_type, trigger, false, size_type>? Obsessed. It literally hands you the standard resize policy with those exact template arguments and calls it a day. false is right there in the parameter list, sitting pretty, and we respect it. π
π Author π
Generated automatically by Doxygen for libstdc++ from the source code. So nobody hand-wrote this one, it's a robot-built page, and honestly? The robot ate. πβ¨
Heads up bestie: every single detail above is straight from the source β the template signature, the#include, thetypedef, all four template arguments (size_policy_type,trigger,false,size_type), the "Dispatched type" label, and the fact that this is the Primary template. Don't let the sparkle fool you, it's all accurate. π
That's the page, fr fr β from the Library Functions Manual, part of libstdc++, generated by Doxygen from the source code. Go forth and resize, icon. π πΈπ¦
π¦ where this page comes from
- arch rolling: gcc 16.2.1+r23+gd564253eb6c8-1 Β· GPL-3.0-or-later WITH GCC-exception-3.1 AND GFDL-1.3-or-later
- fedora 44: libstdc++-docs 16.0.1-0.10.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- fedora 44: libstdc++-docs 16.2.1-2.fc44
- fedora 44: libstdc++-docs 16.2.1-3.fc44 Β· GPL-3.0-or-later AND LGPL-3.0-or-later AND (GPL-3.0-or-later WITH GCC-exception-3.1) AND (GPL-3.0-or-later WITH Texinfo-exception) AND (LGPL-2.1-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GCC-exception-2.0) AND (GPL-2.0-or-later WITH GNU-compiler-exception) AND BSL-1.0 AND GFDL-1.3-or-later AND Linux-man-pages-copyleft-2-para AND SunPro AND BSD-1-Clause AND BSD-2-Clause AND BSD-2-Clause-Views AND BSD-3-Clause AND BSD-4-Clause AND BSD-Source-Code AND Zlib AND MIT AND Apache-2.0 AND (Apache-2.0 WITH LLVM-Exception) AND ZPL-2.1 AND ISC AND LicenseRef-Fedora-Public-Domain AND HP-1986 AND curl AND Martin-Birgmeier AND HPND-Markus-Kuhn AND dtoa AND SMLNJ AND AMD-newlib AND OAR AND HPND-merchantability-variant AND HPND-Intel
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms