94 len = strcspn(
ptr,
"%\n\r\0");
106 bool end_number =
false;
107 bool have_precision =
false;
111 stream.flags((std::ios::fmtflags)0);
115 if (*
ptr >=
'0' && *
ptr <=
'9') {
118 }
else if (number > 0) {
190 stream <<
"we don't do %n!!!\n";
213 have_precision =
true;
233 number = number * 10 + (*
ptr -
'0');
305 len = strcspn(
ptr,
"%\n\r\0");
Bitfield< 31, 29 > format
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved.
std::ios::fmtflags savedFlags
Print(std::ostream &stream, const std::string &format)