This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libstdc++/15910] can't compile self defined void distance(std::vector<T>, std::vector<T>)


------- Additional Comments From gdr at integrable-solutions dot net  2005-08-09 17:36 -------
Subject: Re:  can't compile self defined void distance(std::vector<T>, std::vector<T>)

"adah at netstd dot com" <gcc-bugzilla@gcc.gnu.org> writes:

| (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 parts of the standard but not 
| > all, based on what they perceive as their users' best interest.
| 
| Generally you are right.  However, people that encounter this bug most 
| probably know little (if any) of the C++ Standard (and thus care
| little about conformance to the Standard), and people know well
| about the Standard most probably won't encounter this bug at all.

If GCC should start ignoring standard semantics that Random
P. considers a problem for Lambda User, then we would not even have a
working compiler.  And those who know could not even use the compiler.
There are several ways to fix the situation: change the standard
and/or educate people.  

-- Gaby


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]