summaryrefslogtreecommitdiffhomepage
path: root/example/simple_example
diff options
context:
space:
mode:
Diffstat (limited to 'example/simple_example')
-rw-r--r--example/simple_example/example.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/example/simple_example/example.cpp b/example/simple_example/example.cpp
index a60dcad..3a1fd9b 100644
--- a/example/simple_example/example.cpp
+++ b/example/simple_example/example.cpp
@@ -10,5 +10,10 @@
int main()
{
auto rope = ocl::tproc::crope("The Quick Brown Fox Jumps Over The Lazy Dog");
+
+ auto new_elem = new ocl::tproc::crope(", and Jumps again.");
+ rope.concat(new_elem);
+
+ ocl::io::println((++rope)->data());
ocl::io::println(rope.data());
}