Age | Commit message (Collapse) | Author |
|
Added basic iterator support for strings.
|
|
|
|
Only float and double support (partial implementation).
|
|
|
|
Merge commit 'goog/stage-korg-master' into HEAD
|
|
|
|
|
|
|
|
Cosmetic in type_traits.h: renamed _Tp to _T for consistency.
|
|
Collapsed 3 copy constructors into one with default values for the
pos and n values. string(const string&, size_t pos=0, size_t n=npos)
Extra test for substr and the copy constructor.
|
|
Merge commit '2a4077a9186d6f6dff104bbd1a73484aae6d5c01'
* commit '2a4077a9186d6f6dff104bbd1a73484aae6d5c01':
Basic implementation of vector.
|
|
Uses malloc/realloc for pod type.
For classes uses placement new to insert new copies of the data.
In the test package, renamed macros.h to common.h
New memory file with uninitialized_copy and uninitialized_fill.
Disabled the host target since it is used only on linux to run
the valgrind tool and that I don't want to spend time making it
compile on mac, cygwin ....
|
|
Merge commit 'f74588cb88a9d9906ecf70ed6460f8bddc4810a0'
* commit 'f74588cb88a9d9906ecf70ed6460f8bddc4810a0':
Trivial: renamed the parameters to be inline with the standard.
|
|
* changes:
Trivial: renamed the parameters to be inline with the standard.
|
|
Merge commit '8b5f35d0aa39e39119dc1e3e2fc4d283995faa2a'
* commit '8b5f35d0aa39e39119dc1e3e2fc4d283995faa2a':
Revert "Basic implementation of vector."
|
|
Merge commit 'fd56a38d5dcb569b146634bb22c5d9cb1e138e3f'
* commit 'fd56a38d5dcb569b146634bb22c5d9cb1e138e3f':
Basic implementation of vector.
|
|
This reverts commit fd56a38d5dcb569b146634bb22c5d9cb1e138e3f.
|
|
idx -> pos
num -> n
len -> n
|
|
Uses malloc/realloc for pod type.
For classes uses placement new to insert new copies of the data.
In the test package, renamed macros.h to common.h
New memory file with uninitialized_copy and uninitialized_fill.
|
|
Merge commit '60fd0f758a63e74980d712a13c91bc24d98cedc6'
* commit '60fd0f758a63e74980d712a13c91bc24d98cedc6':
Implementation of string::erase
|
|
|
|
Merge commit '0d5d665e3e7d10998bfa793f609766a4ae7c05fc'
* commit '0d5d665e3e7d10998bfa793f609766a4ae7c05fc':
Use realloc to implement the reserve call.
|
|
* changes:
Use realloc to implement the reserve call.
|
|
Minor cleanup of the type used to identify size type and
the basic char type used:
- size_t is now string::size_type
- char is now string::value_type
|
|
Merge commit '42a884c6bc4ab780b0f69ced0d0beebaca3e0dfe'
* commit '42a884c6bc4ab780b0f69ced0d0beebaca3e0dfe':
Added equal method to compare ranges of objects.
|
|
equal is needed for the vector implementation.
|
|
Merge commit 'd738d268c8f915bde451bba52e0c3996113ba9f0'
* commit 'd738d268c8f915bde451bba52e0c3996113ba9f0':
Added find method to the string class.
|
|
Implemented find method including tests.
Cleaned up the Android.mk file to remove the
host target per discussion with dbort.
The simulator target should be used to run host
tests under valgrind.
|
|
Merge commit '48d44eb334a3eed6addcac4343316e33de5326fc'
* commit '48d44eb334a3eed6addcac4343316e33de5326fc':
Removed the host part of the build.
|
|
This was used to run valgrind.
Use the sim-eng build to run valgrind.
|
|
Merge commit 'df7611a3647a8ac956044c86178fb5ad85d89293'
* commit 'df7611a3647a8ac956044c86178fb5ad85d89293':
Added a header file + test for the type traits
|
|
Conflicts:
README
|
|
Added fill and fill_n template functions in algorithm + test.
Since we don't have iterators yet, I used plain pointers. This
change is required to build the vector class.
|
|
Added tests but will submit change to runtest_py separately.
Added more description to the README file.
Check for unsigned overflows.
Added Android.mk in the top dir.
Removed the reserve() method and made the size default to 0 in reserve(size_t)
|
|
|
|
|
|
|