Lines Matching refs:c_a
44 const int(&c_a)[4] = a; variable
48 CHECK(&gsl::at(c_a, i) == &a[i]);
53 CHECK_THROWS_AS(gsl::at(c_a, -1), fail_fast);
54 CHECK_THROWS_AS(gsl::at(c_a, 4), fail_fast);
62 const std::array<int, 4>& c_a = a; variable
66 CHECK(&gsl::at(c_a, i) == &a[static_cast<std::size_t>(i)]);
71 CHECK_THROWS_AS(gsl::at(c_a, -1), fail_fast);
72 CHECK_THROWS_AS(gsl::at(c_a, 4), fail_fast);
80 const std::vector<int>& c_a = a; variable
84 CHECK(&gsl::at(c_a, i) == &a[static_cast<std::size_t>(i)]);
89 CHECK_THROWS_AS(gsl::at(c_a, -1), fail_fast);
90 CHECK_THROWS_AS(gsl::at(c_a, 4), fail_fast);