]>
git.saurik.com Git - apple/xnu.git/blob - tests/bounded_array_src/size.cpp
3 // size_t size() const;
6 #include <libkern/c++/bounded_array.h>
7 #include "test_policy.h"
8 #include <darwintest.h>
18 test_bounded_array
<T
, 5> const array
= {T
{0}, T
{1}, T
{2}, T
{3}, T
{4}};
19 size_t size
= array
.size();
23 test_bounded_array
<T
, 0> const array
= {};
24 size_t size
= array
.size();
29 T_DECL(size
, "bounded_array.size") {