ENH: more dec silly stuff

This commit is contained in:
Bill Hoffman 2002-03-08 13:12:31 -05:00
parent b45f96a83b
commit 8f20044a64
3 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,7 @@ void ForceStringUse()
std::string x(5,'x');
char buff[5];
x.copy(buff, 1, 0);
x[0] = 'a';
std::string::size_type pos = 0;
x.replace(pos, pos, pos, 'x');
std::string copy = cachetest;

View File

@ -23,6 +23,7 @@ void ForceStringUse()
std::string x(5,'x');
char buff[5];
x.copy(buff, 1, 0);
x[0] = 'a';
std::string::size_type pos = 0;
x.replace(pos, pos, pos, 'x');
std::string copy = cachetest;

View File

@ -23,6 +23,7 @@ void ForceStringUse()
std::string x(5,'x');
char buff[5];
x.copy(buff, 1, 0);
x[0] = 'a';
std::string::size_type pos = 0;
x.replace(pos, pos, pos, 'x');
std::string copy = cachetest;