Searched defs:test_elem_throw (Results 1 – 1 of 1) sorted by relevance
23 struct test_elem_throw struct26 static int throw_on_ctor_after /*= -1*/;27 static int throw_on_copy_after /*= -1*/;28 static int throw_on_move_after /*= -1*/;31 static void on_ctor_after(int x) { throw_on_ctor_after = x; } in on_ctor_after()32 static void on_copy_after(int x) { throw_on_copy_after = x; } in on_copy_after()33 static void on_move_after(int x) { throw_on_move_after = x; } in on_move_after()35 static void do_not_throw() in do_not_throw()42 static void in_constructor() { maybe_throw(throw_on_ctor_after); } in in_constructor()43 static void in_copy() { maybe_throw(throw_on_copy_after); } in in_copy()[all …]