mirror of
https://gcc.gnu.org/git/gcc.git
synced 2025-01-07 19:43:43 +08:00
valarray_array.h (__valarray_default_construct(_Tp*, _Tp*)): Use __is_scalar instead of __is_pod.
2007-04-04 Paolo Carlini <pcarlini@suse.de> * include/bits/valarray_array.h (__valarray_default_construct(_Tp*, _Tp*)): Use __is_scalar instead of __is_pod. From-SVN: r123502
This commit is contained in:
parent
dd1af55f6a
commit
34989df3a9
@ -1,3 +1,8 @@
|
||||
2007-04-04 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/valarray_array.h (__valarray_default_construct(_Tp*,
|
||||
_Tp*)): Use __is_scalar instead of __is_pod.
|
||||
|
||||
2007-04-03 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
* include/bits/stl_algobase.h (__copy_aux(_II, _II, _OI),
|
||||
|
@ -98,7 +98,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
|
||||
inline void
|
||||
__valarray_default_construct(_Tp* __restrict__ __b, _Tp* __restrict__ __e)
|
||||
{
|
||||
_Array_default_ctor<_Tp, __is_pod(_Tp)>::_S_do_it(__b, __e);
|
||||
_Array_default_ctor<_Tp, __is_scalar<_Tp>::__value>::_S_do_it(__b, __e);
|
||||
}
|
||||
|
||||
// Turn a raw-memory into an array of _Tp filled with __t
|
||||
|
Loading…
Reference in New Issue
Block a user