cpp/error/throw with nested

If is a non-final non-union class type that is neither std nor derived from std, throws an exception of an unspecified type that is publicly derived from both std and from, and constructed from. The default constructor of the base class calls std, capturing the currently handled exception object, if any, in a std.

Otherwise, throws.

Requires that is

Return value
(none)