Home
last modified time | relevance | path

Searched refs:empty_av (Results 1 – 2 of 2) sorted by relevance

/external/Microsoft-GSL/tests/
Dmulti_span_tests.cpp1290 multi_span<int, 0> empty_av(nullptr);
1292 CHECK(empty_av.bounds().index_bounds() == multi_span_index<1>{0});
1293 CHECK_THROWS_AS(empty_av[0], fail_fast);
1294 CHECK_THROWS_AS(empty_av.begin()[0], fail_fast);
1295 CHECK_THROWS_AS(empty_av.cbegin()[0], fail_fast);
1296 for (auto& v : empty_av)
1304 multi_span<int> empty_av = {}; variable
1305 CHECK(empty_av.bounds().index_bounds() == multi_span_index<1>{0});
1306 CHECK_THROWS_AS(empty_av[0], fail_fast);
1307 CHECK_THROWS_AS(empty_av.begin()[0], fail_fast);
[all …]
Dstrided_span_tests.cpp564 multi_span<int, 0> empty_av(nullptr);
565 strided_span<int, 1> empty_sav{empty_av, {0, 1}};