21 cout <<
"string_literal<3>=" <<
s << endl;
27 cout <<
"a=" <<
a << endl;
28 cout <<
"b=" <<
b << endl;
29 cout <<
"a+b=" << ab << endl;
31 static_assert(ab.size() == 6,
"***");
32 cout <<
"(a+b).size()=" << ab.size() << endl;
33 cout <<
"(a+b)[0]=" << ab[0] << endl;
34 cout <<
"(a+b)[5]=" << ab[5] << endl;
49 cout <<
"42 as string=" << n42 << endl;
50 cout <<
"9999 as string=" << n9999 << endl;
54 int main(
int argc,
char** argv)
61 catch (std::exception& e)
63 std::cout <<
"Exception: " << e.what() << std::endl;
void Test_StaticNum2Str()
[example sstring]
void Test_StaticString()
[example sstring]
GLubyte GLubyte GLubyte a