This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug libstdc++/26020] std::advance() isn't stable for floating point numbers
- From: "pcarlini at suse dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 30 Jan 2006 00:57:46 -0000
- Subject: [Bug libstdc++/26020] std::advance() isn't stable for floating point numbers
- References: <bug-26020-8082@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pcarlini at suse dot de 2006-01-30 00:57 -------
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...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26020