line |
true |
false |
branch |
366
|
0 |
776 |
if (std::is_same::value && this == (void*)&source) return *this; |
1246
|
0 |
496 |
if (offset > oth._length) throw std::out_of_range("basic_string::assign"); |
|
0 |
0 |
if (offset > oth._length) throw std::out_of_range("basic_string::assign"); |
1247
|
0 |
496 |
if (length > oth._length - offset) length = oth._length - offset; |
1256
|
0 |
0 |
if (oth._state == State::SSO) _str = _sso + (oth._str - oth._sso); |
1501
|
0 |
0 |
static void _release_internal (Buffer* buf, dtor_fn dtor) { if (!--buf->refcnt) _free_internal(buf, dtor); } |
1502
|
0 |
0 |
static void _release_external (ExternalShared* ebuf, dtor_fn dtor) { if (!--ebuf->refcnt) _free_external(ebuf, dtor); } |