stdio支持

This commit is contained in:
ArchZer0
2026-08-16 16:28:12 +08:00
parent 1f8fa26d73
commit ceb7c3fa44
11 changed files with 249 additions and 0 deletions
+5
View File
@@ -4,6 +4,7 @@
#include <vector>
#include <algorithm>
#include <cctype>
#include <iostream>
namespace bstl {
@@ -89,4 +90,8 @@ private:
std::string data_;
};
// 流运算符重载
std::ostream& operator<<(std::ostream& os, const String& str);
std::istream& operator>>(std::istream& is, String& str);
} // namespace bstl