got CopiedString move constructor to actually work

conditions fulfilled:
string pointer is always functional, hence no flow conditions needed
move is fully efficient
moving to different program dynamic module works (no dependency on static vars)
This commit is contained in:
Garux
2024-02-02 00:34:11 +06:00
parent 454660c3e8
commit 1f2e1616a8
2 changed files with 50 additions and 9 deletions

View File

@@ -23,10 +23,6 @@
// forward-declaration of CopiedString
template<typename Type>
class DefaultAllocator;
template<typename Allocator>
class CopiedBuffer;
template<typename Buffer>
class String;
typedef String< CopiedBuffer< DefaultAllocator<char> > > CopiedString;
typedef String< class DefaultCopiedBuffer > CopiedString;