Hi, This is my first patch for GSoC project: extend shared_ptr to support arrays.
Changes are made in these files: * libstdc++-v3/include/bits/shared_ptr_base.h : Renamed _Sp_counted_deleter to _Sp_counted_array, changed _shared_count construct from _Sp_counted_ptr to _Sp_counted_array. Added specialization for __shared_ptr and __weak_ptr to support array. * libstdc++-v3/include/experimental/memory : add shared_ptr into fundamentals_v1 Is it too long for reviewing? Should I detach them into different patches? Any comments? Thanks, Fan
a.patch
Description: Binary data