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

# std::nested\_exception(3cxx)

Exception class with exception\_ptr data member.

## NAME

std::nested\_exception - Exception class with exception\_ptr data member.

## SYNOPSIS

`#include <exception>`

### Public Member Functions

**nested\_exception** (const **nested\_exception** &) noexcept=**default**\
 **exception\_ptr** **nested\_ptr** () const noexcept\
 **nested\_exception** & **operator=** (const **nested\_exception** &) noexcept=**default**\
 **void** **rethrow\_nested** () const\

## Detailed Description

Exception class with exception\_ptr data member.

## Author

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