forked from Alepha/Alepha
Slab strings via slots...
This commit is contained in:
@ -22,10 +22,14 @@ static auto init= Alepha::Utility::enroll <=[]
|
||||
std::cerr << "small hello world string." << std::endl;
|
||||
|
||||
String s3= s2 + ": and bob";
|
||||
std::cerr << "appended..." << std::endl;
|
||||
s3= s3 + s3 + s2;
|
||||
|
||||
s2= std::move( s3 );
|
||||
for( int i= 0; i < 10; ++i )
|
||||
{
|
||||
std::cerr << "appended..." << std::endl;
|
||||
s3= s3 + s3 + s2;
|
||||
|
||||
s2= std::move( s3 );
|
||||
}
|
||||
|
||||
std::cout << s3 << std::endl;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user