client::String* == const char*
client::String* jsString = new client::String("test"); ... jsString == new client::String("test");
client::String * operator"" _cs( char const* aString, size_t aLength );
and the comparison is as simple as if ( str == "test"_cs )
{ ... }
.
#ifndef __CHEERP__