EASTLFixedString8Wrapper& EASTLFixedString8Wrapper::operator =(const EASTLFixedString8Wrapper& rhs) { if(this == &rhs) return *this; EAWEBKIT_DELETE reinterpret_cast<FixedString8_128*>(mString8); mString8 = EAWEBKIT_NEW("fixedstring8_128") FixedString8_128(); *(reinterpret_cast<FixedString8_128*>(mString8)) = *(reinterpret_cast<FixedString8_128*> ((rhs).GetImpl())); return *this; }
EASTLFixedString8Wrapper& EASTLFixedString8Wrapper::operator =(const EASTLFixedString8Wrapper& rhs) { if(this == &rhs) return *this; #if STRINGWRAPPER_AVOID_HEAP_ALLOCATION reinterpret_cast<FixedString8_128*>(mString8)->~FixedString8_128(); new(mString8) FixedString8_128(); #else EAWEBKIT_DELETE reinterpret_cast<FixedString8_128*>(mString8); mString8 = EAWEBKIT_NEW("fixedstring8_128") FixedString8_128(); #endif *(reinterpret_cast<FixedString8_128*>(mString8)) = *(reinterpret_cast<FixedString8_128*> ((rhs).GetImpl())); return *this; }
EASTLFixedString8Wrapper::EASTLFixedString8Wrapper(const char8_t* str) : mString8(0) { mString8 = EAWEBKIT_NEW("fixedstring8_128") FixedString8_128(str); }
EASTLFixedString8Wrapper::EASTLFixedString8Wrapper(const EASTLFixedString8Wrapper& rhs) { mString8 = EAWEBKIT_NEW("fixedstring8_128") FixedString8_128(); *(reinterpret_cast<FixedString8_128*>(mString8)) = *(reinterpret_cast<FixedString8_128*> ((rhs).GetImpl())); }
EASTLFixedString8Wrapper::EASTLFixedString8Wrapper() : mString8(0) { mString8 = EAWEBKIT_NEW("fixedstring8_128") FixedString8_128(); }