summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2026-01-08 09:22:55 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2026-01-08 09:22:55 +0100
commit519f2f91dc3c5f465874c517c8d5c963e0444e45 (patch)
treeef7c2b19e1b986254ed1549cc2dbd36d2f940036 /include
parent2aafdb8520b302f01e57c677ec694db58527dddd (diff)
feat: `operator<<` for `crope` and `rope`.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include')
-rw-r--r--include/ocl/tproc/rope.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/include/ocl/tproc/rope.hpp b/include/ocl/tproc/rope.hpp
index 2a02f05..05e5399 100644
--- a/include/ocl/tproc/rope.hpp
+++ b/include/ocl/tproc/rope.hpp
@@ -194,4 +194,16 @@ namespace ocl::tproc
} // namespace ocl::tproc
+inline std::ostream & operator<<(std::ostream& os, ocl::tproc::crope& r){
+ os << r.data();
+ return os;
+}
+
+inline std::wostream & operator<<(std::wostream& os, ocl::tproc::wrope& r){
+ os << r.data();
+ return os;
+}
+
+#include "rope.inl"
+
#endif // __OCL_TPROC_ROPE_HPP