summaryrefslogtreecommitdiffhomepage
path: root/example/simple_example/example.cpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-05 05:40:13 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-05 05:40:39 +0100
commit90eb954bdad5eed76a8594c91772b3eaaf2a2f75 (patch)
treed3073c5018319f35b47cbcc05781dda79b1ca511 /example/simple_example/example.cpp
parentd04b5f826f721d3a486ddbf6dd3ee181c2012f68 (diff)
feat: rope_fwd.inl: important fixes to the algorithm and completed several aspects of the implementation.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/simple_example/example.cpp')
-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());
}