328cfeefa59a829fd8ae83ff1955c530a25b43ff |
|
04-Feb-2010 |
Nicolas Catania <niko@google.com> |
iostream support for unsigned ints,float,double,bool In <limits> added support for unsigned long and unsigned long long.
/external/astl/include/limits
|
fe47cee745a2b91cd9a2b98f7a82c9ad9fec726f |
|
26-Jan-2010 |
Nicolas Catania <niko@google.com> |
Use iterators in unitialized_copy. Previously, unitialized_copy assumed the args were pointers. Replace the const * with iterators. Fixed a bug, uninitialized_copy must return an iterator pass the last element inserted in dest. Previously we were returning the start of dest. Fixed a bug, we can use memmove only when the types pointed are POD but also when both source AND dest iterators are random access ones (i.e both source and dest use a contiguous array to store the values) The prev code would call memmove if the input was a vector<int> and output a linked list<int> which is wrong since the list element are stored in nodes, non contiguous area. Added a specialization when the 2 types are pod but the iterator are not random access ones (think linked list of ints). I was not sure if placement new degrades to assignement in that case so I provided a specialization that explicitly uses '='. In limits, added support for int and unsigned int. replaced C style casts with static_cast.
/external/astl/include/limits
|
5abe6dfaae971d3c0d1c8e3349b0d2b2ae83cc97 |
|
22-Jan-2010 |
Nicolas Catania <niko@google.com> |
New fpos class for the stream position.
/external/astl/include/limits
|
dfec9fcb74ce3381af05f54e6ebc2667a6bfb6b8 |
|
12-Jan-2010 |
Nicolas Catania <niko@google.com> |
Partial implementation of the std::limits header file. Only float and double support (partial implementation).
/external/astl/include/limits
|