mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-18 05:18:57 +08:00
5b2ff385d5
2000-07-15 Gabriel Dos Reis <gdr@codesourcery.com> * std/valarray_array.h (__valarray_get_memory, __valarray_get_storage, __valarray_release_storage): New functions. (_Array_default_ctor, _Array_init_ctor, _Array_copy_ctor, _Array_copier): New traits classes. (__valarray_default_construct): New function. Implements valarray default construction. (__valarray_fill_construct): New function. Implements valarray construction with initializer. (__valarray_copy_construct): New function. Implements valarray copy construction. (__valarray_destroy_elements): New function. (__valarray_copy, __valarray_fill): Tweak. (__valarray_sum, __valarray_product): New helper functions. (_Array<>::free_data): Remove. (_Array<>::_Array): Tweak. * std/std_valarray.h (valarray<>::product): Remove. (valarray<>::valarray): Use __valarray_get_storage. (valarray<>::shift, valarray<>::cshift, valarray<>::resize): Tweak. * std/cpp_type_traits.h: New file. * valarray.cc (multiplies<>, accumulate, valarray<>::product): Remove explicit instantiation. (__valarray_product): New function. (_Indexer::_Indexer): Use. From-SVN: r35055 |
||
---|---|---|
.. | ||
config | ||
std | ||
stl | ||
tests | ||
testsuite | ||
cassert | ||
cctype | ||
cerrno | ||
cfloat | ||
ChangeLog | ||
cinst.cc | ||
ciso646 | ||
climits | ||
clocale | ||
cmath | ||
cmathi.cc | ||
complex | ||
complex.h | ||
configure.in | ||
csetjmp | ||
csignal | ||
cstdarg | ||
cstddef | ||
cstdio | ||
cstdlib | ||
cstdlibi.cc | ||
cstring | ||
cstringi.cc | ||
ctime | ||
cwchar | ||
cwctype | ||
fstream | ||
iomanip | ||
iosfwd | ||
iostream | ||
Makefile.in | ||
NEWS | ||
sinst.cc | ||
sstream | ||
stdexcept | ||
stdexcepti.cc | ||
stl.h | ||
stlinst.cc | ||
string | ||
strstream | ||
valarray | ||
valarray.cc |