21 auto currentSize =
str_.size();
23 if (currentSize == 0) {
27 newSize = currentSize + (currentSize >> 2);
34 setp((&
str_.front()) + currentSize, (&
str_.front()) + newSize);
37 str_[currentSize] =
static_cast<char>(
ch);
38 setp((&
str_.front()) + currentSize + 1, (&
str_.front()) + newSize);
41 }
catch (
const std::exception&) {
50 :
std::ostream(
nullptr), processor_{processor} {
int_type overflow(int_type ch) override
—— Concurrent Priority Queue Implementation ——
LogStream(LogStreamProcessor *processor)