public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libstdc++/25304]  New: std::fill_n, std::generate_n incorrect signature
@ 2005-12-07 21:06 sebor at roguewave dot com
  2005-12-07 22:21 ` [Bug libstdc++/25304] " pinskia at gcc dot gnu dot org
                   ` (21 more replies)
  0 siblings, 22 replies; 23+ messages in thread
From: sebor at roguewave dot com @ 2005-12-07 21:06 UTC (permalink / raw)
  To: gcc-bugs

Both template functions are required to return void.

$ cat u.cpp && g++ -c u.cpp
#include <algorithm>

template void std::fill_n (int*, int, const int&);
template void std::generate_n (int*, int, int (*)());

int main () { }
u.cpp:3: error: template-id 'fill_n<>' for 'void std::fill_n(int*, int, const
int&)' does not match any template declaration
u.cpp:4: error: template-id 'generate_n<>' for 'void std::generate_n(int*, int,
int (*)())' does not match any template declaration


-- 
           Summary: std::fill_n, std::generate_n incorrect signature
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libstdc++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: sebor at roguewave dot com
 GCC build triplet: all
  GCC host triplet: all
GCC target triplet: all


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
@ 2005-12-07 22:21 ` pinskia at gcc dot gnu dot org
  2005-12-07 22:23 ` pinskia at gcc dot gnu dot org
                   ` (20 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-07 22:21 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-12-07 22:21 -------
Hmm, SGI's stl had them returning a value.  This is really weird it changed
from returning a value to not to returning a value.  Maybe this was a mistake
in the standard to do that or maybe libstdc++ is just wrong.  I wished that
standard had not changed this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
  2005-12-07 22:21 ` [Bug libstdc++/25304] " pinskia at gcc dot gnu dot org
@ 2005-12-07 22:23 ` pinskia at gcc dot gnu dot org
  2005-12-07 22:26 ` pinskia at gcc dot gnu dot org
                   ` (19 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-07 22:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2005-12-07 22:23 -------
http://www.sgi.com/tech/stl/generate_n.html
http://www.sgi.com/tech/stl/fill_n.html


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
  2005-12-07 22:21 ` [Bug libstdc++/25304] " pinskia at gcc dot gnu dot org
  2005-12-07 22:23 ` pinskia at gcc dot gnu dot org
@ 2005-12-07 22:26 ` pinskia at gcc dot gnu dot org
  2005-12-07 23:39 ` pcarlini at suse dot de
                   ` (18 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-12-07 22:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2005-12-07 22:26 -------
Related to PR 16505.  This is the same issue as PR 16505.

Can someone close to the standard answer the question why did they change the
return type for these functions?


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (2 preceding siblings ...)
  2005-12-07 22:26 ` pinskia at gcc dot gnu dot org
@ 2005-12-07 23:39 ` pcarlini at suse dot de
  2005-12-07 23:42 ` gdr at integrable-solutions dot net
                   ` (17 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2005-12-07 23:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pcarlini at suse dot de  2005-12-07 23:39 -------
In any case, it's a bug. I'm only not sure whether, similarly to the story of
16505, we want to fix it and break user code relying on non standard conforming
behavior. I'm in favor of fixing this problem too, for 4.2 only of course,
nobody complained about the resolution of 16505.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2005-12-07 23:39:53
               date|                            |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (3 preceding siblings ...)
  2005-12-07 23:39 ` pcarlini at suse dot de
@ 2005-12-07 23:42 ` gdr at integrable-solutions dot net
  2005-12-08  0:01 ` pcarlini at suse dot de
                   ` (16 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-12-07 23:42 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #5 from gdr at integrable-solutions dot net  2005-12-07 23:42 -------
Subject: Re:  std::fill_n, std::generate_n incorrect signature

"pinskia at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org> writes:

| Related to PR 16505.  This is the same issue as PR 16505.
| 
| Can someone close to the standard answer the question why did they change the
| return type for these functions?

I think it really does not matter now -- many things changed when they
got their way into the standard, for more or less obvious reasons.
We've gotten a bug in libstdc++. 

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (4 preceding siblings ...)
  2005-12-07 23:42 ` gdr at integrable-solutions dot net
@ 2005-12-08  0:01 ` pcarlini at suse dot de
  2005-12-08  0:08 ` sebor at roguewave dot com
                   ` (15 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2005-12-08  0:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from pcarlini at suse dot de  2005-12-08 00:01 -------
Agreed.


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at gcc dot gnu   |pcarlini at suse dot de
                   |dot org                     |
             Status|NEW                         |ASSIGNED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (5 preceding siblings ...)
  2005-12-08  0:01 ` pcarlini at suse dot de
@ 2005-12-08  0:08 ` sebor at roguewave dot com
  2005-12-08  0:20 ` pcarlini at suse dot de
                   ` (14 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sebor at roguewave dot com @ 2005-12-08  0:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from sebor at roguewave dot com  2005-12-08 00:08 -------
FWIW, I think Andrew makes a good point in comment #1. The algorithms really
should return the iterator, otherwise the caller may not be able to find out
the state of the iterator after the algorithm returns (e.g., when the iterator
is ostreambuf_iterator). It may not be a bad idea to open an issue (or at least
bring it up on the reflector).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (6 preceding siblings ...)
  2005-12-08  0:08 ` sebor at roguewave dot com
@ 2005-12-08  0:20 ` pcarlini at suse dot de
  2005-12-08  3:32 ` gdr at integrable-solutions dot net
                   ` (13 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2005-12-08  0:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from pcarlini at suse dot de  2005-12-08 00:20 -------
(In reply to comment #7)
> FWIW, I think Andrew makes a good point in comment #1. The algorithms really
> should return the iterator, otherwise the caller may not be able to find out
> the state of the iterator after the algorithm returns (e.g., when the iterator
> is ostreambuf_iterator).

Ah, I see. Then the issue is more subtle than uninitialized_fill_n in 16505...

> It may not be a bad idea to open an issue (or at least
> bring it up on the reflector).

Ok, I will, if you don't beat me ;)


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (7 preceding siblings ...)
  2005-12-08  0:20 ` pcarlini at suse dot de
@ 2005-12-08  3:32 ` gdr at integrable-solutions dot net
  2005-12-08 15:51 ` sebor at roguewave dot com
                   ` (12 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-12-08  3:32 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #9 from gdr at integrable-solutions dot net  2005-12-08 03:32 -------
Subject: Re:  std::fill_n, std::generate_n incorrect signature

"sebor at roguewave dot com" <gcc-bugzilla@gcc.gnu.org> writes:

| FWIW, I think Andrew makes a good point in comment #1. The algorithms really
| should return the iterator, otherwise the caller may not be able to find out
| the state of the iterator after the algorithm returns (e.g., when the
iterator
| is ostreambuf_iterator). It may not be a bad idea to open an issue (or at
least
| bring it up on the reflector).

So do you suggest to get this PR in suspended state and get feedback
from LWG?

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (8 preceding siblings ...)
  2005-12-08  3:32 ` gdr at integrable-solutions dot net
@ 2005-12-08 15:51 ` sebor at roguewave dot com
  2005-12-08 16:04 ` gdr at integrable-solutions dot net
                   ` (11 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sebor at roguewave dot com @ 2005-12-08 15:51 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #10 from sebor at roguewave dot com  2005-12-08 15:51 -------
No, I don't. The standard is clear and most of us seem to think it's "by
design." Rather I am suggesting is that we might want to discuss with the whole
LWG changing the return type as an enhancement.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (9 preceding siblings ...)
  2005-12-08 15:51 ` sebor at roguewave dot com
@ 2005-12-08 16:04 ` gdr at integrable-solutions dot net
  2005-12-08 16:11 ` pcarlini at suse dot de
                   ` (10 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-12-08 16:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #11 from gdr at integrable-solutions dot net  2005-12-08 16:04 -------
Subject: Re:  std::fill_n, std::generate_n incorrect signature

"sebor at roguewave dot com" <gcc-bugzilla@gcc.gnu.org> writes:

| No, I don't. The standard is clear and most of us seem to think it's "by
| design." Rather I am suggesting is that we might want to discuss with the
whole
| LWG changing the return type as an enhancement.

I think I understand that.  

However, I'm looking at the pratical effect.  If libstdc++ changes the
return types (correcting the bug) then it will be an ABI breakage.
If LWG considers and agrees on the enhancement, libstdc++ will have to
change again the return types.  At the end of the day we would have
two ABI breakages with zero net benefit for existing libstdc++ users.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (10 preceding siblings ...)
  2005-12-08 16:04 ` gdr at integrable-solutions dot net
@ 2005-12-08 16:11 ` pcarlini at suse dot de
  2005-12-08 16:20 ` pcarlini at suse dot de
                   ` (9 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2005-12-08 16:11 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #12 from pcarlini at suse dot de  2005-12-08 16:11 -------
(In reply to comment #11)
> However, I'm looking at the pratical effect.  If libstdc++ changes the
> return types (correcting the bug) then it will be an ABI breakage.
> If LWG considers and agrees on the enhancement, libstdc++ will have to
> change again the return types.  At the end of the day we would have
> two ABI breakages with zero net benefit for existing libstdc++ users.

I share your concerns. Want to add a couple of thoughts:
1- When we broke the ABI to fix 16505, I think we did that with the spirit that
it was a, so to speak, "weak" breakage, because could possibly byte only people
using the return value, something not standard conforming. Indeed, we received
zero complaints, as I already remarked.
2- As I see the issue, it depends a lot on the actual timeframe of the possible
enhancement to the standard. I mean, if we are thinking about C++0x, seems
rather far in time. I think most of our users would not perceive our practice
as randomly going back and forward on something.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (11 preceding siblings ...)
  2005-12-08 16:11 ` pcarlini at suse dot de
@ 2005-12-08 16:20 ` pcarlini at suse dot de
  2005-12-08 16:23 ` gdr at integrable-solutions dot net
                   ` (8 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2005-12-08 16:20 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #13 from pcarlini at suse dot de  2005-12-08 16:20 -------
(In reply to comment #12)

> 2- As I see the issue, it depends a lot on the actual timeframe of the possible
> enhancement to the standard. I mean, if we are thinking about C++0x, seems
> rather far in time. I think most of our users would not perceive our practice
> as randomly going back and forward on something.

+ the more general consideration that, delivering a C++0x conforming library
certainly will involve breaking the ABI in tens of different ways (e.g., I have
in front of me the implementation of DR 130, only a very simple and relatively
trivial example).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (12 preceding siblings ...)
  2005-12-08 16:20 ` pcarlini at suse dot de
@ 2005-12-08 16:23 ` gdr at integrable-solutions dot net
  2005-12-08 16:27 ` sebor at roguewave dot com
                   ` (7 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-12-08 16:23 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #14 from gdr at integrable-solutions dot net  2005-12-08 16:23 -------
Subject: Re:  std::fill_n, std::generate_n incorrect signature

"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| 2- As I see the issue, it depends a lot on the actual timeframe of
| the possible enhancement to the standard. I mean, if we are thinking
| about C++0x, seems rather far in time. I think most of our users
| would not perceive our practice as randomly going back and forward
| on something. 

Fair enough.

(At Lillehammer, we set to have x, in C++0x, a digit; so that means
we're almost done by 2007.  That is not far, given that LWG would not
need to wait 2007 before agreeing on the issue.  I was amazed to
discover that CWG two two meetings to open an issue and move it to WP.
LWG could do the same.  Hint, hint, :-))

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (13 preceding siblings ...)
  2005-12-08 16:23 ` gdr at integrable-solutions dot net
@ 2005-12-08 16:27 ` sebor at roguewave dot com
  2005-12-08 17:12 ` gdr at integrable-solutions dot net
                   ` (6 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: sebor at roguewave dot com @ 2005-12-08 16:27 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #15 from sebor at roguewave dot com  2005-12-08 16:27 -------
(In reply to comment #11)

Okay, I see your concern.

Well, IMO, your signatures are better than those required by the standard so if
you care about 100% compliance you (or Paolo -- and I promise not to beat him
;-) should open an issue with the LWG and try to get the standard changed. I
will support the change. Until the LWG issue is resolved (and hopefully even
after that) you can leave your signatures alone.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (14 preceding siblings ...)
  2005-12-08 16:27 ` sebor at roguewave dot com
@ 2005-12-08 17:12 ` gdr at integrable-solutions dot net
  2006-01-04 13:53 ` chris at bubblescope dot net
                   ` (5 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: gdr at integrable-solutions dot net @ 2005-12-08 17:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #16 from gdr at integrable-solutions dot net  2005-12-08 17:12 -------
Subject: Re:  std::fill_n, std::generate_n incorrect signature

"pcarlini at suse dot de" <gcc-bugzilla@gcc.gnu.org> writes:

| + the more general consideration that, delivering a C++0x conforming
| library certainly will involve breaking the ABI in tens of different
| ways 

I have no trouble with that.
My main concern is whether the flip flop worths it *if* we're going to
change back.

-- Gaby


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (15 preceding siblings ...)
  2005-12-08 17:12 ` gdr at integrable-solutions dot net
@ 2006-01-04 13:53 ` chris at bubblescope dot net
  2006-01-04 13:58 ` pcarlini at suse dot de
                   ` (4 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: chris at bubblescope dot net @ 2006-01-04 13:53 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #17 from chris at bubblescope dot net  2006-01-04 13:53 -------
Just as a quick note, I've personally got code using the non-void return value
of generate_n (because I'm going along a list, and didn't want to have to
incremement n steps after filling the list, as that would cost). Not that I'm
saying that means the code should stay, just at least one data point of someone
who is using the current version :)


-- 

chris at bubblescope dot net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at bubblescope dot net


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (16 preceding siblings ...)
  2006-01-04 13:53 ` chris at bubblescope dot net
@ 2006-01-04 13:58 ` pcarlini at suse dot de
  2006-02-26 10:09 ` pcarlini at suse dot de
                   ` (3 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2006-01-04 13:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #18 from pcarlini at suse dot de  2006-01-04 13:58 -------
(In reply to comment #17)
>                                                                    Not that I'm
> saying that means the code should stay, just at least one data point of someone
> who is using the current version :)

Thanks. By now, I think we agree that first we want to raise the issue with the
LWG. I promise to do something in time for Berlin, at least.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304



^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (17 preceding siblings ...)
  2006-01-04 13:58 ` pcarlini at suse dot de
@ 2006-02-26 10:09 ` pcarlini at suse dot de
  2009-12-14 23:26 ` [Bug libstdc++/25304] [DR 865] " paolo dot carlini at oracle dot com
                   ` (2 subsequent siblings)
  21 siblings, 0 replies; 23+ messages in thread
From: pcarlini at suse dot de @ 2006-02-26 10:09 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #19 from pcarlini at suse dot de  2006-02-26 10:09 -------
For now...


-- 

pcarlini at suse dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |SUSPENDED


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] [DR 865] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (18 preceding siblings ...)
  2006-02-26 10:09 ` pcarlini at suse dot de
@ 2009-12-14 23:26 ` paolo dot carlini at oracle dot com
  2009-12-15  0:08 ` paolo at gcc dot gnu dot org
  2009-12-15  0:10 ` paolo dot carlini at oracle dot com
  21 siblings, 0 replies; 23+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-14 23:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #20 from paolo dot carlini at oracle dot com  2009-12-14 23:26 -------
This is in fact DR 865 and now that the status is [Ready] we can simply re-open
it, say in the docs that we implement it already and then close it again.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|SUSPENDED                   |NEW
   Last reconfirmed|2005-12-07 23:39:53         |2009-12-14 23:26:16
               date|                            |
            Summary|std::fill_n, std::generate_n|[DR 865] std::fill_n,
                   |incorrect signature         |std::generate_n incorrect
                   |                            |signature


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] [DR 865] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (19 preceding siblings ...)
  2009-12-14 23:26 ` [Bug libstdc++/25304] [DR 865] " paolo dot carlini at oracle dot com
@ 2009-12-15  0:08 ` paolo at gcc dot gnu dot org
  2009-12-15  0:10 ` paolo dot carlini at oracle dot com
  21 siblings, 0 replies; 23+ messages in thread
From: paolo at gcc dot gnu dot org @ 2009-12-15  0:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #21 from paolo at gcc dot gnu dot org  2009-12-15 00:08 -------
Subject: Bug 25304

Author: paolo
Date: Tue Dec 15 00:07:52 2009
New Revision: 155241

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=155241
Log:
2009-12-14  Paolo Carlini  <paolo.carlini@oracle.com>

        PR libstdc++/25304, DR 865 [Ready]
        * include/bits/stl_algobase.h (fill_n): Add comment about DR 865.
        * include/bits/stl_algo.h (generate_n): Likewise.
        * include/bits/algorithmfwd.h: Remove obsolete comment.
        * doc/xml/manual/intro.xml: Add an entry for DR 865.

Modified:
    trunk/libstdc++-v3/ChangeLog
    trunk/libstdc++-v3/doc/xml/manual/intro.xml
    trunk/libstdc++-v3/include/bits/algorithmfwd.h
    trunk/libstdc++-v3/include/bits/stl_algo.h
    trunk/libstdc++-v3/include/bits/stl_algobase.h


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

* [Bug libstdc++/25304] [DR 865] std::fill_n, std::generate_n incorrect signature
  2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
                   ` (20 preceding siblings ...)
  2009-12-15  0:08 ` paolo at gcc dot gnu dot org
@ 2009-12-15  0:10 ` paolo dot carlini at oracle dot com
  21 siblings, 0 replies; 23+ messages in thread
From: paolo dot carlini at oracle dot com @ 2009-12-15  0:10 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #22 from paolo dot carlini at oracle dot com  2009-12-15 00:10 -------
Done.


-- 

paolo dot carlini at oracle dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |4.5.0


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=25304


^ permalink raw reply	[flat|nested] 23+ messages in thread

end of thread, other threads:[~2009-12-15  0:10 UTC | newest]

Thread overview: 23+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-12-07 21:06 [Bug libstdc++/25304] New: std::fill_n, std::generate_n incorrect signature sebor at roguewave dot com
2005-12-07 22:21 ` [Bug libstdc++/25304] " pinskia at gcc dot gnu dot org
2005-12-07 22:23 ` pinskia at gcc dot gnu dot org
2005-12-07 22:26 ` pinskia at gcc dot gnu dot org
2005-12-07 23:39 ` pcarlini at suse dot de
2005-12-07 23:42 ` gdr at integrable-solutions dot net
2005-12-08  0:01 ` pcarlini at suse dot de
2005-12-08  0:08 ` sebor at roguewave dot com
2005-12-08  0:20 ` pcarlini at suse dot de
2005-12-08  3:32 ` gdr at integrable-solutions dot net
2005-12-08 15:51 ` sebor at roguewave dot com
2005-12-08 16:04 ` gdr at integrable-solutions dot net
2005-12-08 16:11 ` pcarlini at suse dot de
2005-12-08 16:20 ` pcarlini at suse dot de
2005-12-08 16:23 ` gdr at integrable-solutions dot net
2005-12-08 16:27 ` sebor at roguewave dot com
2005-12-08 17:12 ` gdr at integrable-solutions dot net
2006-01-04 13:53 ` chris at bubblescope dot net
2006-01-04 13:58 ` pcarlini at suse dot de
2006-02-26 10:09 ` pcarlini at suse dot de
2009-12-14 23:26 ` [Bug libstdc++/25304] [DR 865] " paolo dot carlini at oracle dot com
2009-12-15  0:08 ` paolo at gcc dot gnu dot org
2009-12-15  0:10 ` paolo dot carlini at oracle dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).