summaryrefslogtreecommitdiffhomepage
path: root/include/ocl/tproc/rope.hpp
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 09:30:37 +0100
committerAmlal El Mahrouss <amlal@nekernel.org>2025-12-26 09:30:37 +0100
commit932101ae44d6fc43e9facff898ed769d1d1099ec (patch)
tree35d2611b0354fdd9406719d3f41390334f25d8da /include/ocl/tproc/rope.hpp
parenta5fbde90e35c3ed38a70377249a0e0ecd91901ab (diff)
feat: API additions and rope_fwd fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/ocl/tproc/rope.hpp')
-rw-r--r--include/ocl/tproc/rope.hpp12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/ocl/tproc/rope.hpp b/include/ocl/tproc/rope.hpp
index 9a072c9..c0fd756 100644
--- a/include/ocl/tproc/rope.hpp
+++ b/include/ocl/tproc/rope.hpp
@@ -8,14 +8,20 @@
#include <ocl/tproc/detail/rope_fwd.hpp>
-namespace ocl::tproc
+namespace ocl::tproc::rope
{
template <typename It, class Pred>
- It find(It begin, It end, Pred callable);
+ It find(It begin, It end, Pred);
template <typename It, class Callable>
- It find_if(It begin, It end, Callable callable);
+ It find_if(It begin, It end, Callable);
+
+ template <typename It, class Pred>
+ size_t erase(It begin, It end, Pred);
+
+ template <typename It, class Callable>
+ size_t erase_if(It begin, It end, Callable);
} // namespace ocl::tproc