| 648 | |
| 649 | DOCTEST_GCC_SUPPRESS_WARNING_WITH_PUSH("-Wmaybe-uninitialized") |
| 650 | String::size_type String::size() const { |
| 651 | if(isOnStack()) |
| 652 | return last - (size_type(buf[last]) & 31); // using "last" would work only if "len" is 32 |
| 653 | return data.size; |
| 654 | } |
| 655 | DOCTEST_GCC_SUPPRESS_WARNING_POP |
| 656 | |
| 657 | String::size_type String::capacity() const { |
no test coverage detected