Adding support for typed get for tuple (e.g. get(tuple& t)).
CoreAllocatorAdapter::operator= now copies the allocator name.
Fixed strict-aliasing issues in the eastl::intrusive_list implementation.
Adding move semantic guards around test code requiring that language feature.
Improving eastl::vector implementation to move elements (instead of copying) during a resize.
EASTL
-
Published by rparolin almost 8 years ago
Implemented eastl::any, a type-safe container for single values of any type that is implemented with the 'local buffer optimization' to avoid heap allocations for small objects.
Improving standards conformance of vector::swap and improves use of vector with non-copyable or move-only types (e.g. unique_ptr). This includes a subtle but important behaviour change were vector::swap will no longer perform a copy of the vectors elements when the allocator instances are different. If you rely on copying elements from one vector to another when calling vector::swap(), you can reintroduce the slower, standard non-conforming behaviour by building with 'EASTL_VECTOR_LEGACY_SWAP_BEHAVIOUR_REQUIRES_COPY_CTOR' as a global define.