From: Thomas Witt (witt_at_[hidden])
Date: 2002-02-05 15:44:59
On Tuesday 05 February 2002 21:37, you wrote:
> --- In boost_at_y..., nbecker_at_f... wrote:
> > >>>>> "rogeeff" == rogeeff <rogeeff_at_m...> writes:
> > rogeeff> --- In boost_at_y..., nbecker_at_f... wrote:
> > >> What is the purpose of cycle_size_()? Do you really give
> any useful
> > >> meaning to cycle_size < 0?
> > rogeeff> cycle_size_() in private helper function used to
> calculate *positive*
> > rogeeff> cycle size. Did I answer yout question?
> > No. My question is, can cycle_size every be negative? Why? What
> > does negative cycle size mean? I prefer negative cycle size is not
> > allowed.
> m_bounds.second - m_bounds.first could be negative. But cycle_size_()
> is always returing positive number. What is cycle_size you mentioning?
Is this really true. I think all methods assume second >= first and I think
thats ok. m_bounds should be required to be a valid half_open range.
I hadn't time to check it but I really feel uncomfortable with the advance
code. Gennadiy are you aware of the fact that advance, despite its name,
might be called with negative argument? That one fooled me. I hope to give it
a closer look tomorrow
> Info: http://www.boost.org Send unsubscribe requests to:
> Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk