From 90eb954bdad5eed76a8594c91772b3eaaf2a2f75 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Mon, 5 Jan 2026 05:40:13 +0100 Subject: feat: rope_fwd.inl: important fixes to the algorithm and completed several aspects of the implementation. Signed-off-by: Amlal El Mahrouss --- example/simple_example/example.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'example/simple_example/example.cpp') 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()); } -- cgit v1.2.3