line |
true |
false |
branch |
35
|
1 |
0 |
Array (const Sv& oth) : Sv(oth) { _validate(); } |
219
|
1 |
0 |
iterator begin () { return sv ? iterator(_svlist()) : iterator(); } |
220
|
1 |
0 |
iterator end () { return sv ? iterator(_svlist()+_size()) : iterator(); } |
232
|
0 |
1 |
if (!sv) return; |
233
|
0 |
1 |
if (SvTYPE(sv) == SVt_PVAV) return; |
234
|
1 |
0 |
if (SvROK(sv)) { // reference to array? |
236
|
1 |
0 |
if (SvTYPE(val) == SVt_PVAV) { |
237
|
1 |
0 |
Sv::operator=(val); |
241
|
0 |
0 |
if (is_undef()) return reset(); |
243
|
0 |
0 |
throw std::invalid_argument("SV is not an Array or Array reference"); |