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

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

Class with exception generation control. Intended to be used as a value\_type in templatized code.

## NAME

\_\_gnu\_cxx::throw\_value\_base\< \_Cond \> - Class with exception generation control. Intended to be used as a value\_type in templatized code.

## SYNOPSIS

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

### Public Types

typedef \_Cond **condition\_type**\

### Public Member Functions

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

### Public Attributes

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

## Detailed Description

### template\<typename \_Cond\>

struct \_\_gnu\_cxx::throw\_value\_base\< \_Cond \>"Class with exception generation control. Intended to be used as a value\_type in templatized code.

Note: Destructor not allowed to throw.

## Author

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