------- Comment #8 from gdr at integrable-solutions dot net 2006-01-30 01:07 ------- Subject: Re: std::advance() isn't stable for floating point numbers
"pcarlini at suse dot de" <[EMAIL PROTECTED]> writes: | Hi again. On second tought, I don't think we have an issue here. Maybe of QoI | only, at most. The reason is that, according to 24.1/9, Distance is a | difference type in the "following sections". A bit vague, but that seem to | imply to also the template argument Distance in 24.3.4 is a difference type... That matches my interpretation --- hence Distance must behave "like" an integral type -- but still, the question is exactly what kind of relation does it have with say std::iterator<FowardIterator>::difference_type. -- Gaby -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26020