valarray_array.h
21 KB
-
Add __attribute__((malloc) to allocator and remove unused code · cd2f262b
* include/bits/valarray_array.h (__valarray_get_memory): Remove. (__valarray_get_storage): Call operator new directly. Remove ignored top-level restrict qualifier and add malloc attribute instead. (_Array<_Tp>::_Array(size_t)): Remove unused constructor. From-SVN: r260230
Jonathan Wakely committed