- Fixed some logic errors with assertions for wide vs. byte files.

- Changed getline and getwline to use gets instead of the experimental functions. These, in theory, will be slightly faster.
This commit is contained in:
2025-09-11 16:58:32 -04:00
parent 375492ef7b
commit 3565bbbc52
2 changed files with 100 additions and 94 deletions

View File

@@ -250,9 +250,6 @@ public:
// Binary Read Operations ==============================================================================================
char getc();
wchar_t getwc();
size_t read(void* data, size_t size, size_t n);
template<typename T>
@@ -265,9 +262,6 @@ public:
return read(static_cast<void*>(data), sizeof(T), n);
}
string getline();
wstring getwline();
// Binary Write Operations =============================================================================================
@@ -297,6 +291,15 @@ public:
}
// Read Operations =====================================================================================================
char getc();
wchar_t getwc();
string getline();
wstring getwline();
// Printing Operations =================================================================================================