summaryrefslogtreecommitdiffhomepage
path: root/include/ocl
diff options
context:
space:
mode:
Diffstat (limited to 'include/ocl')
-rw-r--r--include/ocl/tproc/detail/rope_fwd.hpp2
-rw-r--r--include/ocl/tproc/detail/rope_fwd.inl19
-rw-r--r--include/ocl/tproc/rope.hpp13
3 files changed, 22 insertions, 12 deletions
diff --git a/include/ocl/tproc/detail/rope_fwd.hpp b/include/ocl/tproc/detail/rope_fwd.hpp
index f694269..4a0264f 100644
--- a/include/ocl/tproc/detail/rope_fwd.hpp
+++ b/include/ocl/tproc/detail/rope_fwd.hpp
@@ -54,7 +54,7 @@ namespace ocl::tproc
using crope = basic_rope<char>;
using wrope = basic_rope<wchar_t>;
-} // namespace ocl
+} // namespace ocl::tproc
#include "rope_fwd.inl"
diff --git a/include/ocl/tproc/detail/rope_fwd.inl b/include/ocl/tproc/detail/rope_fwd.inl
index 11ed792..46b095d 100644
--- a/include/ocl/tproc/detail/rope_fwd.inl
+++ b/include/ocl/tproc/detail/rope_fwd.inl
@@ -13,11 +13,20 @@ namespace ocl::tproc
struct basic_rope<CharT, Traits, Allocator>::tree_impl
{
size_t size_;
- CharT* head_, tail_;
+ CharT *head_, tail_;
- size_t size() { return size_; }
- CharT* begin() { return head_; }
- CharT* end() { return tail_; }
+ size_t size()
+ {
+ return size_;
+ }
+ CharT* begin()
+ {
+ return head_;
+ }
+ CharT* end()
+ {
+ return tail_;
+ }
};
template <class CharT, class Traits, class Allocator>
@@ -76,6 +85,6 @@ namespace ocl::tproc
return impl_->size() < 1;
}
-} // namespace ocl
+} // namespace ocl::tproc
#endif \ No newline at end of file
diff --git a/include/ocl/tproc/rope.hpp b/include/ocl/tproc/rope.hpp
index c01106c..4551a79 100644
--- a/include/ocl/tproc/rope.hpp
+++ b/include/ocl/tproc/rope.hpp
@@ -10,11 +10,12 @@
namespace ocl::tproc::rope
{
- struct reverse_pred;
- struct fast_pred;
- struct lowercase_pred;
- struct exact_pred;
- struct stars_with_pred;
+
+ struct reverse_pred;
+ struct fast_pred;
+ struct lowercase_pred;
+ struct exact_pred;
+ struct stars_with_pred;
template <typename It, class Pred>
It find(It begin, It end, Pred);
@@ -28,6 +29,6 @@ namespace ocl::tproc::rope
template <typename It, class Callable>
size_t erase_if(It begin, It end, Callable);
-} // namespace ocl::tproc
+} // namespace ocl::tproc::rope
#endif // __OCL_TPROC_ROPE_HPP \ No newline at end of file