Home
last modified time | relevance | path

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

/external/Microsoft-GSL/tests/
Dstrict_notnull_tests.cpp39 bool helper_const(not_null<const int*> p) { return *p == 12; } in helper_const() function
67 helper_const(snn1);
96 helper_const(snn);
143 helper_const(strict_not_null{&i});
154 helper_const(strict_not_null{p});
179 CHECK_THROWS_AS(helper_const(strict_not_null{p}), fail_fast);
186 helper_const(strict_not_null{nullptr});
Dnotnull_tests.cpp133 bool helper_const(not_null<const int*> p) { return *p == 12; } in helper_const() function
176 helper_const(&t);
190 helper_const(p);
192 helper_const(x);
205 helper_const(cp);
206 helper_const(x);
225 CHECK_THROWS_AS(helper_const(return_pointer()), fail_fast);
429 helper_const(not_null{&i});
440 helper_const(not_null{p});
465 CHECK_THROWS_AS(helper_const(not_null{p}), fail_fast);
[all …]