---
name: "__gnu_cxx::throw_value_base"
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::throw_value_base/3cxx"
---

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

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>`

Inherits \_Cond.

### 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.
