---
name: "__gnu_cxx::limit_condition"
section: "3cxx"
platform: "linux"
package: "libstdc++-12-doc"
version: "12.4.0-5"
release: "Debian 13 (Trixie)"
platforms: ["linux"]
url: "https://new.carta.tech/__gnu_cxx::limit_condition/3cxx"
---

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

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.
