3 int TestDicomString(int , char* [])
6 const char *s = "\0\0";
7 std::string a(s,s+2); // will copy 2 '\0'
8 assert( a.size() == 2 );
11 assert( a.c_str()[i] == '\0' );
12 assert( a.data()[i] == '\0' );
14 assert( a.c_str()[3] == '\0' );
17 std::string zeros(x, 0);
21 char s4[] = "\0abc";*/