diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2010-05-21 16:57:17 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2010-05-21 16:57:17 +0000 |
commit | 759149fbf3c844c39b283e487190eed9377b594e (patch) | |
tree | 759716ca467179a6c260bd41e88fbf2bb7ecd570 /gcc | |
parent | bdc89f9eff4e4c967107c3e88bf0737eb0a03c60 (diff) | |
download | gcc-759149fbf3c844c39b283e487190eed9377b594e.zip gcc-759149fbf3c844c39b283e487190eed9377b594e.tar.gz gcc-759149fbf3c844c39b283e487190eed9377b594e.tar.bz2 |
re PR libstdc++/25306 (fill_n, generate_n assume Size is modifiable)
2010-05-21 Paolo Carlini <paolo.carlini@oracle.com>
PR libstdc++/25306
* include/bits/stl_algobase.h (fill_n): Use a properly typed __niter
initialized to __n.
* include/bits/stl_algo.h (generate_n): Likewise.
* testsuite/25_algorithms/fill_n/25306.cc: New.
* testsuite/25_algorithms/generate_n/25306.cc: Likewise.
From-SVN: r159677
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions