ENH: more dec silly stuff
This commit is contained in:
parent
b45f96a83b
commit
8f20044a64
|
@ -23,6 +23,7 @@ void ForceStringUse()
|
||||||
std::string x(5,'x');
|
std::string x(5,'x');
|
||||||
char buff[5];
|
char buff[5];
|
||||||
x.copy(buff, 1, 0);
|
x.copy(buff, 1, 0);
|
||||||
|
x[0] = 'a';
|
||||||
std::string::size_type pos = 0;
|
std::string::size_type pos = 0;
|
||||||
x.replace(pos, pos, pos, 'x');
|
x.replace(pos, pos, pos, 'x');
|
||||||
std::string copy = cachetest;
|
std::string copy = cachetest;
|
||||||
|
|
|
@ -23,6 +23,7 @@ void ForceStringUse()
|
||||||
std::string x(5,'x');
|
std::string x(5,'x');
|
||||||
char buff[5];
|
char buff[5];
|
||||||
x.copy(buff, 1, 0);
|
x.copy(buff, 1, 0);
|
||||||
|
x[0] = 'a';
|
||||||
std::string::size_type pos = 0;
|
std::string::size_type pos = 0;
|
||||||
x.replace(pos, pos, pos, 'x');
|
x.replace(pos, pos, pos, 'x');
|
||||||
std::string copy = cachetest;
|
std::string copy = cachetest;
|
||||||
|
|
|
@ -23,6 +23,7 @@ void ForceStringUse()
|
||||||
std::string x(5,'x');
|
std::string x(5,'x');
|
||||||
char buff[5];
|
char buff[5];
|
||||||
x.copy(buff, 1, 0);
|
x.copy(buff, 1, 0);
|
||||||
|
x[0] = 'a';
|
||||||
std::string::size_type pos = 0;
|
std::string::size_type pos = 0;
|
||||||
x.replace(pos, pos, pos, 'x');
|
x.replace(pos, pos, pos, 'x');
|
||||||
std::string copy = cachetest;
|
std::string copy = cachetest;
|
||||||
|
|
Loading…
Reference in New Issue