summaryrefslogtreecommitdiffhomepage
path: root/example/simple_example/example.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'example/simple_example/example.cpp')
-rw-r--r--example/simple_example/example.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/example/simple_example/example.cpp b/example/simple_example/example.cpp
new file mode 100644
index 0000000..a60dcad
--- /dev/null
+++ b/example/simple_example/example.cpp
@@ -0,0 +1,14 @@
+/*
+ * File: example.cpp
+ * Purpose: Rope example.
+ * Author: Amlal El Mahrouss (amlal@nekernel.org)
+ * Copyright 2025, Amlal El Mahrouss, licensed under the Boost Software License.
+ */
+
+#include <ocl/tproc/rope.hpp>
+
+int main()
+{
+ auto rope = ocl::tproc::crope("The Quick Brown Fox Jumps Over The Lazy Dog");
+ ocl::io::println(rope.data());
+}