---
name: "__gnu_cxx::limit_condition"
section: "3"
platform: "linux"
package: "gcc"
version: "16.2.1+r23+gd564253eb6c8-1"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::limit_condition"
---

# \_\_gnu\_cxx::limit\_condition(3)

Base class for incremental control and throw.

## NAME

\_\_gnu\_cxx::limit\_condition - Base class for incremental control and throw.

## SYNOPSIS

\#include \<throw\_allocator.h\>

Inherits **\_\_gnu\_cxx::condition\_base**.

Inherited by **\_\_gnu\_cxx::throw\_allocator\_base\< \_Tp, limit\_condition \>**, and **\_\_gnu\_cxx::throw\_value\_base\< limit\_condition \>**.

### Classes

struct **always\_adjustor**\
 Always enter the condition.  struct **limit\_adjustor**\
 Enter the nth condition.  struct **never\_adjustor**\
 Never enter the condition.

### Static Public Member Functions

static size\_t & **count** ()\
 static size\_t & **limit** ()\
 static void **set\_limit** (const size\_t \_\_l)\
 static void **throw\_conditionally** ()\

## Detailed Description

Base class for incremental control and throw.

## Author

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