Commit 99c62042 authored by paolo's avatar paolo
Browse files

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.


git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123502 138bc75d-0d04-0410-961f-82ee72b054a4
parent 2a3c85c8
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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment