__gnu_cxx:...alue_limit(3)

πŸ“¦
version 16.2.1+r23+gd564253eb6c8 Β· 7 versions
, in arch rolling, fedora 44

✨ NAME ✨

__gnu_cxx::throw_value_limit β€” a type that throws based on a limit condition. That's literally the whole vibe πŸ’…

This one lives in the __gnu_cxx manual, btw β€” that's the Library Functions Manual, bestie, not just any old page 🫢


🌸 SYNOPSIS 🌸

#include <throw_allocator.h>

okay so first thing, she inherits from __gnu_cxx::throw_value_base< limit_condition > πŸ‘‘


πŸŽ€ Public Types πŸŽ€

  • typedef throw_value_base< limit_condition > base_type β€” this is her base class, her origin story, her main character lineage πŸ’–
  • typedef limit_condition condition_type β€” the condition type she rides with, no cap

πŸ’œ Public Member Functions πŸ’œ

  • throw_value_limit (const std::size_t __i) β€” constructor that takes a std::size_t named __i ✨
  • throw_value_limit (const throw_value_limit &__other) β€” copy constructor, taking another throw_value_limit as __other πŸ¦‹
  • throw_value_limit (throw_value_limit &&)=default β€” move constructor, and it's =default (the compiler handles it, we don't have to, slay) πŸ’…
  • throw_value_base & operator++ () β€” pre-increment, and she hands you back a reference to throw_value_base 🌈
  • throw_value_limit & operator= (const throw_value_limit &__other) β€” copy assignment from another throw_value_limit called __other πŸŽ€
  • throw_value_limit & operator= (throw_value_limit &&)=default β€” move assignment, also =default, iconic behavior πŸ’–

🧚 Static Public Member Functions 🧚

  • static size_t & count () β€” returns a reference to a size_t, and it's static so you don't need an instance, periodt ✨
  • static size_t & limit () β€” same energy, returns a reference to a size_t, also static πŸ“
  • static void set_limit (const size_t __l) β€” static, takes a const size_t named __l, returns nothing, sets the limit, that's it 🫢
  • static void throw_conditionally () β€” static, no args, no return, and it throws conditionally β€” the name is not playing around 😭

⭐ Public Attributes ⭐

  • std::size_t _M_i β€” a public std::size_t attribute named _M_i. Yes bestie, it's just out there, in the open, for everyone 🌸

πŸ‘‘ Detailed Description πŸ‘‘

A type that throws via a limit condition. That's the whole thing β€” the name literally tells you what it does and I respect the transparency πŸ’€

ngl the whole point of this family of types is to throw on purpose when a condition hits, so if you're using it, expect the throw. It's a feature, not a bug πŸ™ˆ

πŸ’– Author πŸ’–

Generated automatically by Doxygen for libstdc++ from the source code. So like, no human wrote this by hand β€” the robot did it and honestly it ate πŸ€–βœ¨


and that's a wrap bestie!! this page came to you straight out of the libstdc++ source, auto-generated by Doxygen for the __gnu_cxx manual, so go forth and throw conditionally πŸ’…πŸŽ€πŸ’–

πŸ“¦ 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