NS/releases/3.02/source/stlport/test/regression/strass1.cpp
tankefugl 7b18f64309 Branched for 3.02 changes
git-svn-id: https://unknownworlds.svn.cloudforge.com/ns1@16 67975925-1194-0748-b3d5-c16f83f1a3a1
2005-03-30 12:54:33 +00:00

9 lines
187 B
C++

#include <string>
int main()
{
std::string str1 = "string";
std::string str2;
str2.assign(str1.begin(), str1.begin() + 3);
return 0;
}