constructor · 3 overloads
std::runtime_error::runtime_error
- Header
<stdexcept>- Draft
- [runtime.error]
- Scope
std::runtime_error- cppreference
- std::runtime_error::runtime_error
Constructors
Overloads
- (1)
constexpr runtime_error(const runtime_error& other) noexcept = default; - (2)
explicit constexpr runtime_error(const string& what_arg); - (3)
explicit constexpr runtime_error(const char* what_arg);