---
name: "__gnu_cxx::throw_value_limit"
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::throw_value_limit"
---

# \_\_gnu\_cxx::throw\_value\_limit(3)

Type throwing via limit condition.

## NAME

\_\_gnu\_cxx::throw\_value\_limit - Type throwing via limit condition.

## SYNOPSIS

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

Inherits **\_\_gnu\_cxx::throw\_value\_base\< limit\_condition \>**.

### Public Types

typedef throw\_value\_base\< **limit\_condition** \> **base\_type**\
 typedef **limit\_condition** **condition\_type**\

### Public Member Functions

**throw\_value\_limit** (const std::size\_t \_\_i)\
 **throw\_value\_limit** (const throw\_value\_limit &\_\_other)\
 **throw\_value\_limit** (throw\_value\_limit &&)=default\
 throw\_value\_base & **operator++** ()\
 throw\_value\_limit & **operator=** (const throw\_value\_limit &\_\_other)\
 throw\_value\_limit & **operator=** (throw\_value\_limit &&)=default\

### Static Public Member Functions

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

### Public Attributes

std::size\_t **\_M\_i**\

## Detailed Description

Type throwing via limit condition.

## Author

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