/usr/include/c++/5/bits/stl_vector.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 4 | 14 | 28.5 |
line | true | false | branch |
---|---|---|---|
170 | 5 | 0 | return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer(); |
177 | 5 | 18 | if (__p) |
1227 | 5 | 0 | std::__uninitialized_copy_a(__first, __last, __result, |
1232 | 0 | 0 | { |
1424 | 0 | 0 | if (max_size() - size() < __n) |
1428 | 0 | 0 | return (__len < size() || __len > max_size()) ? max_size() : __len; |
0 | 0 | return (__len < size() || __len > max_size()) ? max_size() : __len; |