V3 PATCH: Fix thinko in valarray_meta.h

Gabriel Dos Reis Gabriel.Dos-Reis@cmla.ens-cachan.fr
Sun Feb 11 16:31:00 GMT 2001


libstdc++/1926 fixed with this.

-- Gaby

2001-02-11  Gabriel Dos Reis  <gdr@merlin.codesourcery.com>

	* include/bits/valarray_meta.h (_RefFunClos<>_RefRunClos): Fix
	thinko in member initialisation.

Index: include/bits/valarray_meta.h
===================================================================
RCS file: /cvs/gcc/egcs/libstdc++-v3/include/bits/valarray_meta.h,v
retrieving revision 1.1
diff -p -r1.1 valarray_meta.h
*** valarray_meta.h	2000/10/05 11:27:01	1.1
--- valarray_meta.h	2001/02/11 22:25:14
*************** namespace std {
*** 297,303 ****
          typedef _Tp value_type;
          
          _RefFunClos (const valarray<_Tp>& __v, _Tp __f(const _Tp&))
!                 : _Base (__e, __f) {}
      };
      
      //
--- 297,303 ----
          typedef _Tp value_type;
          
          _RefFunClos (const valarray<_Tp>& __v, _Tp __f(const _Tp&))
!                 : _Base (__v, __f) {}
      };
      
      //



More information about the Libstdc++ mailing list