This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[v3] 13290


tested x86/linux
gcc-3_3_branch only

2003-12-04  Christopher Saunders  <ctsa@u.washington.edu>

	PR libstdc++/13290
	* include/bits/stl_algo.h (generate_n): Fix typo.

Index: include/bits/stl_algo.h
===================================================================
RCS file: /cvs/gcc/gcc/libstdc++-v3/include/bits/stl_algo.h,v
retrieving revision 1.27.20.1
diff -c -p -r1.27.20.1 stl_algo.h
*** include/bits/stl_algo.h	30 Sep 2003 14:37:40 -0000	1.27.20.1
--- include/bits/stl_algo.h	4 Dec 2003 18:33:12 -0000
*************** namespace std
*** 948,954 ****
        // concept requirements
        __glibcpp_function_requires(_OutputIteratorConcept<_OutputIter,
              // "the type returned by a _Generator"
!             __typeof__(gen())>)
  
        for ( ; __n > 0; --__n, ++__first)
  	*__first = __gen();
--- 948,954 ----
        // concept requirements
        __glibcpp_function_requires(_OutputIteratorConcept<_OutputIter,
              // "the type returned by a _Generator"
!             __typeof__(__gen())>)
  
        for ( ; __n > 0; --__n, ++__first)
  	*__first = __gen();


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]