--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 06:19 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Herb Sutter's opinion (N1792) is a little different. He thinks
--- Additional Comments From adah at netstd dot com 2005-08-12 08:52
---
I am glad it is again normal discussions.
(In reply to comment #93)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Herb
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 09:04 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| | Herb Sutter's opinion (N1792) is a little different. He
--- Additional Comments From adah at netstd dot com 2005-08-12 09:23
---
(In reply to comment #95)
| | Herb Sutter's opinion (N1792) is a little different. He thinks that
| | ADL should not work in the OP's example, because distance is simply
| | not an `interface' of std::vector
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 09:44 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| you still fail to provide such a definition for interface.
|
--- Additional Comments From adah at netstd dot com 2005-08-12 10:50
---
(In reply to comment #97)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| you still fail to provide such a definition for
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 11:45 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| | For a class X, all functions, including free functions, that
--- Additional Comments From adah at netstd dot com 2005-08-12 14:02
---
(In reply to comment #99)
adah at netstd dot com [EMAIL PROTECTED] writes:
| | For a class X, all functions, including free functions, that both
| |
| | * `mention' X
| | * are `supplied with' X
| |
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-11 06:31 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Furthermore, and more importantly, GCC bugzilla is the not the
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-11 06:46 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Hi Gaby,
|
| I have read Sutter's Modest Proposal on fixing ADL
--- Additional Comments From adah at netstd dot com 2005-08-12 02:10
---
(In reply to comment #79)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Furthermore, and more importantly, GCC
--- Additional Comments From adah at netstd dot com 2005-08-12 02:10
---
(In reply to comment #79)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Furthermore, and more importantly,
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-12
02:14 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
--- Additional Comments From adah at netstd dot com 2005-08-12 02:10
---
(In reply to comment #79)
--- Additional Comments From adah at netstd dot com 2005-08-12 02:32
---
(In reply to comment #82)
Show an official page.
http://gcc.gnu.org/bugs.html
In particular, bugs caused by invalid code have a simple work-around: fix
the code.
With each release, we try to make G++ conform
On Aug 11, 2005, at 10:32 PM, adah at netstd dot com wrote:
What I have not is that a PRoblem resulting from an deficiency of the
C++
Standard is not considered a PRoblem. It is clear that many C++ gurus
do think
it a deficiency of the C++ Standard.
Yes but you said using GCC bugzilla for
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-12
02:38 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
On Aug 11, 2005, at 10:32 PM, adah at netstd dot com wrote:
What I have not is that a PRoblem resulting from an
--- Additional Comments From adah at netstd dot com 2005-08-12 03:00
---
(In reply to comment #84)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
On Aug 11, 2005, at 10:32 PM, adah at netstd dot com wrote:
What I have not is that a PRoblem
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 03:39 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| What I have not is that a PRoblem resulting from an deficiency
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 03:41 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| --- Additional Comments From adah at netstd dot com
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 03:45 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| So I am not to argue with you. :-)
You have shown sufficient
--- Additional Comments From adah at netstd dot com 2005-08-12 03:47
---
(In reply to comment #86)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| What I have not is that a PRoblem resulting from
--- Additional Comments From bangerth at dealii dot org 2005-08-12 04:05
---
We're already at comment 85 in this PR, so this is definitely going to be my
last message.
While I sympathize with your desire to have a better error message, you seem
not to understand the implications of
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-12 04:05 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
[...]
| Because what I wrote was
|# Furthermore, and more
--- Additional Comments From adah at netstd dot com 2005-08-12 05:12
---
I am not sure whether we can finish here (not to challenge you, but that I am
still a little misunderstood). See below (for pure technical discussions, and
just to reply to you).
(In reply to comment #90)
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-10 11:35 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Now to your point. Please notice that my current stance is not
--- Additional Comments From adah at netstd dot com 2005-08-11 02:01
---
(In reply to comment #76)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Now to your point. Please notice that my current
--- Additional Comments From adah at netstd dot com 2005-08-11 03:51
---
Hi Gaby,
I have read Sutter's Modest Proposal on fixing ADL that you referred to me. If
you had told me earlier about this instead of bluntly telling me this was not a
GCC bug, I would have much more quickly
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-09 08:35 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| --- Additional Comments From adah at netstd dot com
--- Additional Comments From adah at netstd dot com 2005-08-09 10:49
---
(In reply to comment #61)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| --- Additional Comments From adah at netstd
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-09 11:07 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Do *you* like it?
It is immaterial as far as GCC is concerned.
--- Additional Comments From adah at netstd dot com 2005-08-09 13:26
---
(In reply to comment #63)
| Do *you* like it?
It is immaterial as far as GCC is concerned. I know where to raise
Why immaterial? I just cannot imagine anybody that *likes* this behaviour.
If no one likes it,
--- Additional Comments From adah at netstd dot com 2005-08-09 13:36
---
(In reply to comment #58)
It serves its users by providing a reliable translator for the language
defined by the standard. Think about the portability implications of
compilers that willy-nilly implement some
This is reasonable. That was why I thought it was not necessary to `fix'
this
bug after some discussions. I just thought it was still a bug, and some
measures need to be taken to warn the user about this problem. It might be
of
low priority, but simply marking it as `INVALID' just
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-09
13:40 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
This is reasonable. That was why I thought it was not necessary to `fix'
this
bug after some discussions. I
--- Additional Comments From bangerth at dealii dot org 2005-08-09 14:11
---
I think we should all recuse ourselves from this discussion, since we just
keep iterating our same old positions:
Yongwei believes that this is a defect in the standard and that gcc should
not follow the
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-09 17:28 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| (In reply to comment #63)
| | Do *you* like it?
| It is
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-09 17:36 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| (In reply to comment #58)
| It serves its users by providing a
--- Additional Comments From adah at netstd dot com 2005-08-10 02:40
---
Since I do not think I can find appropriate words to respond to Gaby without
inflaming the discussion, I think I had better suppress my will to argue with
him it for the moment. Not that I want to ignore his
On Aug 9, 2005, at 10:41 PM, adah at netstd dot com wrote:
Passing this information to the user is difficult, unless GCC emits a
diagnostic message to help users do so, as GCC is currently doing on
the
missing of `typename'.
even then as I said before when it comes down to it, nobody
--- Additional Comments From pinskia at physics dot uc dot edu 2005-08-10
02:49 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
On Aug 9, 2005, at 10:41 PM, adah at netstd dot com wrote:
Passing this information to the user is difficult,
--- Additional Comments From adah at netstd dot com 2005-08-10 03:11
---
(In reply to comment #71)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
On Aug 9, 2005, at 10:41 PM, adah at netstd dot com wrote:
Passing this information to the user is
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-10
03:17 ---
(In reply to comment #72)
encountered the problem before. Not to say understand the problem. As the
very beginning, adding a message like `In instantiation of std::distance...'
will be helpful.
But
--- Additional Comments From adah at netstd dot com 2005-08-10 03:34
---
(In reply to comment #73)
encountered the problem before. Not to say understand the problem. As the
very beginning, adding a message like `In instantiation of
std::distance...'
will be helpful.
But it
--- Additional Comments From adah at netstd dot com 2005-08-10 04:31
---
The error message I am imagining (not sure of its feasibility):
.../stl_iterator_base_types.h: In instantiation of
`std::iterator_traitsstd::vectorint, std::allocatorint ':
.../stl_iterator_funcs.h: In
--- Additional Comments From adah at netstd dot com 2005-08-08 06:19
---
(In reply to comment #52)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| This said, I still cannot think this bug report is
--- Additional Comments From adah at netstd dot com 2005-08-08 06:31
---
(In reply to comment #53)
I know no one named Paul M. He seems not here, either.
Really sorry that I missed the latest posting on comp.lang.c++.moderated by
Paul Mensonides
The explanation is good enough.
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-08 10:25 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Subject: Re: can't compile self defined void
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-08 10:29 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| (In reply to comment #53)
| I know no one named Paul M. He
--- Additional Comments From adah at netstd dot com 2005-08-08 12:56
---
(In reply to comment #56)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| (In reply to comment #53)
| I know no one named
--- Additional Comments From bangerth at dealii dot org 2005-08-08 13:20
---
It serves its users by providing a reliable translator for the language
defined by the standard. Think about the portability implications of
compilers that willy-nilly implement some parts of the standard but
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-08 18:08 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Does a compiler serve its users or the Standard committee?
--- Additional Comments From adah at netstd dot com 2005-08-09 01:45
---
(In reply to comment #59)
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| Does a compiler serve its users or the Standard
--- Additional Comments From adah at netstd dot com 2005-08-08 02:26
---
Sorry, but some of you here have not read carefully enough and acted in a
haste. Please test with the following code piece and make a decision AFTER
that:
#include iostream
#include vector
int
--- Additional Comments From adah at netstd dot com 2005-08-08 03:53
---
Sorry for the tone in my previous comment. I guess I was a little heated and
acted in a haste.
This said, I still cannot think this bug report is `INVALID', from a user's
point of view. The test code showed it
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-08 04:56 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
[...]
| template
| struct iterator_traitsvectorint
Invalid.
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-08 04:59 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| This said, I still cannot think this bug report is `INVALID',
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-06 11:57 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| (In reply to comment #44)
| | However, I still believe it is
--- Additional Comments From bangerth at dealii dot org 2005-08-06 17:18
---
I agree with Gaby: the standard pretty unambiguously lists the signature of
std::distance, and the name lookup rules say that it needs to be found. What
leeway do we have in rejecting it anyway and picking
--- Additional Comments From bangerth at dealii dot org 2005-08-05 13:10
---
I fail to see how James' quote has any significance for this PR at all. It
talks about overload resolution, which is not the question here at all.
W.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15910
--- Additional Comments From gdr at integrable-solutions dot net
2005-08-04 10:13 ---
Subject: Re: can't compile self defined void distance(std::vectorT,
std::vectorT)
adah at netstd dot com [EMAIL PROTECTED] writes:
| 1) This bug is not in libstdc++, but in the C++ compiler.
yes
--- Additional Comments From adah at netstd dot com 2005-08-05 05:41
---
(In reply to comment #44)
| However, I still believe it is the problem of the compilers.
Please take ti to the C++ standard committee. The behaviour is that
described by the standard. If you don't like it,
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03
12:56 ---
*** Bug 23213 has been marked as a duplicate of this bug. ***
--
What|Removed |Added
--- Additional Comments From pinskia at gcc dot gnu dot org 2005-08-03
13:03 ---
Just for reference, the thread from comp.lang.c++.moderated:
http://groups-beta.google.com/group/comp.lang.c++.moderated/browse_thread/thread/
3c449572456c8592
--
--- Additional Comments From adah at netstd dot com 2005-08-04 05:27
---
As the reporter of Bug 23213, I want to add my 2 cents (my opinions):
1) This bug is not in libstdc++, but in the C++ compiler.
2) The std::distance (as found by Koenig lookup) does not hide the global one
the
--- Additional Comments From gdr at integrable-solutions dot net 2004-08-03 13:01
---
Subject: Re: can't compile self defined void distance(std::vectorT, std::vectorT)
giovannibajo at libero dot it [EMAIL PROTECTED] writes:
| --- Additional Comments From giovannibajo at libero
65 matches
Mail list logo