// // Tests for // bounded_array_ref(); // #include #include "test_policy.h" #include #include struct T { int i; }; template static void tests() { { test_bounded_array_ref view; CHECK(view.data() == nullptr); CHECK(view.size() == 0); } { test_bounded_array_ref view{}; CHECK(view.data() == nullptr); CHECK(view.size() == 0); } { test_bounded_array_ref view = test_bounded_array_ref(); CHECK(view.data() == nullptr); CHECK(view.size() == 0); } } T_DECL(ctor_default, "bounded_array_ref.ctor.default") { tests(); tests(); }