From 519f2f91dc3c5f465874c517c8d5c963e0444e45 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Thu, 8 Jan 2026 09:22:55 +0100 Subject: feat: `operator<<` for `crope` and `rope`. Signed-off-by: Amlal El Mahrouss --- example/simple_example/example.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'example/simple_example/example.cpp') diff --git a/example/simple_example/example.cpp b/example/simple_example/example.cpp index 445c92b..da543a9 100644 --- a/example/simple_example/example.cpp +++ b/example/simple_example/example.cpp @@ -6,6 +6,7 @@ */ #include +#include #ifndef STANDALONE using namespace ocl; @@ -20,6 +21,6 @@ int main() std::unique_ptr new_elem(new tproc::crope(", and Jumps again.")); std::unique_ptr res(rope.concat(new_elem.get())); - io::println((++rope)->data()); - io::println(rope.data()); + std::cout << ++rope; + std::cout << rope; } -- cgit v1.2.3