std::nested_exception:: nested_exception
From cppreference.net
<
cpp
|
error
|
nested exception
C++
Utilities library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Diagnostics library
|
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
std::nested_exception
| Member functions | ||||
|
nested_exception::nested_exception
|
||||
|
nested_exception
(
)
noexcept
;
|
(1) |
(depuis C++11)
(constexpr depuis C++26) |
|
nested_exception
(
const
nested_exception
&
other
)
noexcept
=
default
;
|
(2) |
(depuis C++11)
(constexpr depuis C++26) |
Construit un nouvel objet
nested_exception
.
1)
Constructeur par défaut. Stocke un objet d'exception obtenu en appelant
std::
current_exception
(
)
dans le nouvel objet
nested_exception
.
2)
Constructeur de copie. Initialise l'objet avec l'exception stockée dans
other
.
Paramètres
| autre | - | exception imbriquée pour initialiser le contenu |