diff options
| author | Stefan Boberg <[email protected]> | 2023-10-20 17:30:20 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2023-10-20 17:30:56 +0200 |
| commit | dee0cac1605a5ec48811d3039f41e0e4cdcf7c0c (patch) | |
| tree | f9de7c7eac098903ab407cde8016a46a412fe269 /src | |
| parent | explicit ChunkingLinearAllocator (diff) | |
| download | zen-dee0cac1605a5ec48811d3039f41e0e4cdcf7c0c.tar.xz zen-dee0cac1605a5ec48811d3039f41e0e4cdcf7c0c.zip | |
typedef for std streaming to StringBuilder
Diffstat (limited to 'src')
| -rw-r--r-- | src/zencore/include/zencore/string.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/zencore/include/zencore/string.h b/src/zencore/include/zencore/string.h index 2b61b3954..d0bd38acc 100644 --- a/src/zencore/include/zencore/string.h +++ b/src/zencore/include/zencore/string.h @@ -322,6 +322,8 @@ public: inline void EnsureNulTerminated() const { *m_CurPos = '\0'; } + typedef C char_type; // allows this to be used with code targeting some std stream classes + protected: inline void Init(C* Base, size_t Capacity) { |