4#include "Stroika/Foundation/StroikaPreComp.h"
13using namespace Stroika::Foundation::Memory;
31Charset::Charset (
const std::string& charsetName)
35Charset::Charset (
const std::string_view& charsetName)
39Charset::Charset (
const String& charsetName)
44Charset::operator
String ()
const
49string Charset::AsNarrowSDKString ()
const
51 return fRep_->fValue.AsNarrowSDKString ();
54strong_ordering Charset::operator<=> (
const Charset& rhs)
const
56 return String ::ThreeWayComparer{eCaseInsensitive}(fRep_->fValue, rhs.fRep_->fValue);
59bool Charset::operator== (
const Charset& rhs)
const
auto MakeSharedPtr(ARGS_TYPE &&... args) -> shared_ptr< T >
same as make_shared, but if type T has block allocation, then use block allocation for the 'shared pa...
conditional_t< qStroika_Foundation_Memory_PreferBlockAllocation and andTrueCheck, BlockAllocationUseHelper< T >, Common::Empty > UseBlockAllocationIfAppropriate
Use this to enable block allocation for a particular class. Beware of subclassing.
String is like std::u32string, except it is much easier to use, often much more space efficient,...