+ {
+ etl::loose_handle<my_test_obj> a(new my_test_obj(27)), b(new my_test_obj(42));
+ a.swap(b);
+ if (a->my_id != 42 || b->my_id != 27)
+ {
+ printf("FAILED!\n");
+ printf(__FILE__":%d: on loose_handle swap (27,42) gave (%d,%d), should be (42,27).\n",__LINE__,a->my_id,b->my_id);
+ return 1;
+ }
+ }
+
+ if(my_test_obj::instance_count!=3)