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

Lines Matching refs:logic_error

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