|
Boost : |
From: shunsuke (pstade.mb_at_[hidden])
Date: 2007-04-27 09:31:06
Tom Titchener wrote:
> : public boost::iterator_facade<improve_increment, float, boost::forward_traversal_tag> {
'float' -> 'float const' ?
> void main(void) {
> std::cout.precision(10);
> copy_n(
> boost::make_counting_iterator(improve_increment(27.3F)),
> 10,
> std::ostream_iterator<float>(std::cout, " ")
> );
counting_iterator seems redundant here.
improve_increment iterator itself does all you want?
-- Shunsuke Sogame
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk