Menu

#166 irrString.h improvements and new features/functions.

closed-fixed
nobody
core (31)
2
2010-03-21
2010-03-11
Nalin
No

This patch adds two new functions:
append(const T* const other, u32 length), for specifying the desired amount of characters to append.
replace(const string<T,TAlloc>& toReplace, const string<T,TAlloc>& replaceWith), for string replacement.

It changes remove() to pass by reference instead of by value.
It adds some size() == 0 checks to abort functions early.
It changes most of the functions to return *this to allow function chaining.

Discussion

  • Nalin

    Nalin - 2010-03-11

    Patch

     
  • Christian Stehno

    This patch has been accepted and commited to SVN. It will be part of the next release.

     
  • Christian Stehno

    • priority: 5 --> 2
    • status: open --> closed-fixed
     

Log in to post a comment.