/usr/include/c++/5/bits/stl_vector.h | |||
---|---|---|---|
Criterion | Covered | Total | % |
branch | 6 | 16 | 37.5 |
line | true | false | branch |
---|---|---|---|
170 | 3 | 0 | return __n != 0 ? _Tr::allocate(_M_impl, __n) : pointer(); |
177 | 34 | 13 | if (__p) |
3 | 3 | if (__p) | |
1227 | 3 | 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; |