line |
true |
false |
branch |
103
|
0 |
0 |
if (!mem) throw std::bad_alloc(); |
347
|
0 |
0 |
if (std::is_same::value && this == (void*)&source) return *this; |
366
|
0 |
0 |
if (std::is_same::value && this == (void*)&source) return *this; |
1161
|
0 |
0 |
if (capacity <= MAX_SSO_CHARS) { |
1165
|
0 |
0 |
if (capacity > MAX_SIZE) throw std::length_error("basic_string::_new_auto"); |
|
0 |
0 |
if (capacity > MAX_SIZE) throw std::length_error("basic_string::_new_auto"); |
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); } |
1511
|
0 |
0 |
if (!r) r = (len1 < len2) ? -1 : (len1 > len2 ? 1 : 0); |
|
0 |
0 |
if (!r) r = (len1 < len2) ? -1 : (len1 > len2 ? 1 : 0); |
|
0 |
0 |
if (!r) r = (len1 < len2) ? -1 : (len1 > len2 ? 1 : 0); |