@@ -358,26 +358,26 @@ class StrBase : public StrImpl<char>
358358{
359359public:
360360 template <int32 I> StrBase (char (&data)[I]) : StrImpl<char>(data, I - 1 ) {}
361- StrBase (char * data, int32 size) : StrImpl<char >(data, size) {}
362- StrBase (const StrBase&) = delete ;
363- StrBase (const StrBase&&) = delete ;
364- int32 from_utf16 (const wchar_t * utf16) { clear (); return to_utf8 (*this , utf16); }
365- void operator = (const char * value) { copy (value); }
366- void operator = (const wchar_t * value) { from_utf16 (value); }
367- void operator = (const StrBase& rhs) = delete ;
361+ StrBase (char * data, int32 size) : StrImpl<char >(data, size) {}
362+ StrBase (const StrBase&) = delete ;
363+ StrBase (const StrBase&&) = delete ;
364+ int32 from_utf16 (const wchar_t * utf16) { clear (); return to_utf8 (*this , utf16); }
365+ void operator = (const char * value) { copy (value); }
366+ void operator = (const wchar_t * value) { from_utf16 (value); }
367+ void operator = (const StrBase& rhs) = delete ;
368368};
369369
370370class WstrBase : public StrImpl <wchar_t >
371371{
372372public:
373373 template <int32 I> WstrBase (char (&data)[I]) : StrImpl<wchar_t>(data, I - 1 ) {}
374- WstrBase (wchar_t * data, int32 size) : StrImpl<wchar_t >(data, size) {}
375- WstrBase (const WstrBase&) = delete ;
376- WstrBase (const WstrBase&&) = delete ;
377- int32 from_utf8 (const char * utf8) { clear (); return to_utf16 (*this , utf8); }
378- void operator = (const wchar_t * value) { copy (value); }
379- void operator = (const char * value) { from_utf8 (value); }
380- void operator = (const WstrBase&) = delete ;
374+ WstrBase (wchar_t * data, int32 size) : StrImpl<wchar_t >(data, size) {}
375+ WstrBase (const WstrBase&) = delete ;
376+ WstrBase (const WstrBase&&) = delete ;
377+ int32 from_utf8 (const char * utf8) { clear (); return to_utf16 (*this , utf8); }
378+ void operator = (const wchar_t * value) { copy (value); }
379+ void operator = (const char * value) { from_utf8 (value); }
380+ void operator = (const WstrBase&) = delete ;
381381};
382382
383383
0 commit comments