diff options
Diffstat (limited to 'src/stable/string.cpp')
-rw-r--r-- | src/stable/string.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/stable/string.cpp b/src/stable/string.cpp index bf3aac0..1ceaec1 100644 --- a/src/stable/string.cpp +++ b/src/stable/string.cpp | |||
@@ -173,6 +173,17 @@ Bu::String::String( const Bu::String::const_iterator &s, | |||
173 | append( s, e ); | 173 | append( s, e ); |
174 | } | 174 | } |
175 | 175 | ||
176 | Bu::String::String( const Bu::String::iterator &s ) | ||
177 | { | ||
178 | append( s ); | ||
179 | } | ||
180 | |||
181 | Bu::String::String( const Bu::String::iterator &s, | ||
182 | const Bu::String::iterator &e ) | ||
183 | { | ||
184 | append( s, e ); | ||
185 | } | ||
186 | |||
176 | Bu::String::~String() | 187 | Bu::String::~String() |
177 | { | 188 | { |
178 | } | 189 | } |
@@ -317,6 +328,11 @@ void Bu::String::append( const const_iterator &s, const const_iterator &e ) | |||
317 | } | 328 | } |
318 | } | 329 | } |
319 | 330 | ||
331 | void Bu::String::append( const iterator &s, const iterator &e ) | ||
332 | { | ||
333 | append( const_iterator( s ), const_iterator( e ) ); | ||
334 | } | ||
335 | |||
320 | void Bu::String::prepend( const String & sData ) | 336 | void Bu::String::prepend( const String & sData ) |
321 | { | 337 | { |
322 | prepend( sData.getStr(), sData.getSize() ); | 338 | prepend( sData.getStr(), sData.getSize() ); |