summaryrefslogtreecommitdiff
path: root/src/strings/sstring.cpp
diff options
context:
space:
mode:
authorBen Longbons <b.r.longbons@gmail.com>2013-10-04 21:03:31 -0700
committerBen Longbons <b.r.longbons@gmail.com>2013-10-05 13:42:46 -0700
commit70214054e84b920ca3bea5119bd5d1456c809054 (patch)
tree0a9383d460c8988f788f4ef7adcd567526b35a75 /src/strings/sstring.cpp
parentcaae1e38d0d239f4f7088a64526fe1d2f6587999 (diff)
downloadtmwa-70214054e84b920ca3bea5119bd5d1456c809054.tar.gz
tmwa-70214054e84b920ca3bea5119bd5d1456c809054.tar.bz2
tmwa-70214054e84b920ca3bea5119bd5d1456c809054.tar.xz
tmwa-70214054e84b920ca3bea5119bd5d1456c809054.zip
Remove owning slices
They were hardly ever used, hid errors, and were obsoleted by baseful x'es.
Diffstat (limited to 'src/strings/sstring.cpp')
-rw-r--r--src/strings/sstring.cpp19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/strings/sstring.cpp b/src/strings/sstring.cpp
index bcbcb58..99f91ed 100644
--- a/src/strings/sstring.cpp
+++ b/src/strings/sstring.cpp
@@ -69,23 +69,4 @@ namespace strings
{
return &_s;
}
-
- SS SS::oslice_t(size_t o) const
- { return SS(_s, _b + o, _e); }
- SS SS::oslice_h(size_t o) const
- { return SS(_s, _b, _b + o); }
- SS SS::orslice_t(size_t no) const
- { return SS(_s, _e - no, _e); }
- SS SS::orslice_h(size_t no) const
- { return SS(_s, _b, _e - no); }
- SS SS::oislice_t(iterator it) const
- { return SS(_s, _b + it - begin(), _e); }
- SS SS::oislice_h(iterator it) const
- { return SS(_s, _b, _b + it - begin()); }
- SS SS::olslice(size_t o, size_t l) const
- { return SS(_s, _b + o, _b + o + l); }
- SS SS::opslice(size_t b, size_t e) const
- { return SS(_s, _b + b, _b + e); }
- SS SS::oislice(iterator b, iterator e) const
- { return SS(_s, _b + b - begin(), _b + e - begin()); }
} // namespace strings