chsvlib
chsv helper source code

◆ Exception() [7/7]

Exception ( StdExcept &&  ex)
noexcept

Constructs an exception object using a description, specified by an object, which is of type std::exception (either directly or indirectly).

Template Parameters
StdExceptis a type of a standard C++ exception object used to construct an exception. The type should be either std::exception or an inheritor of thereof.
Parameters
exis an object of StdExcept type. The constructed exception uses what() method to retrieve a description of the input exception.