Home | History | Annotate | Download | only in runtime.error

Lines Matching refs:runtime_error

10 // test runtime_error
20 static_assert((std::is_base_of<std::exception, std::runtime_error>::value),
21 "std::is_base_of<std::exception, std::runtime_error>::value");
22 static_assert(std::is_polymorphic<std::runtime_error>::value,
23 "std::is_polymorphic<std::runtime_error>::value");
25 const char* msg = "runtime_error message";
26 std::runtime_error e(msg);
28 std::runtime_error e2(e);
34 std::string msg("another runtime_error message");
35 std::runtime_error e(msg);
37 std::runtime_error e2(e);