diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-04 07:53:50 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-01-04 07:53:50 +0100 |
| commit | 4d82c27728d92ebcf51e20ae444967b407931445 (patch) | |
| tree | 8c2c7d7573e2d13dd5ac1c27a9d1344993d30992 /example/simple_example/example.cpp | |
| parent | a689e3d805714408fab28f27b43f659a04a514d4 (diff) | |
feat: API: preping terrain for iterator_ptr. API improvements.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'example/simple_example/example.cpp')
| -rw-r--r-- | example/simple_example/example.cpp | 14 |
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()); +} |
