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

Gabriel Dos Reis gdr@integrable-solutions.net
Tue Aug 3 11:30:00 GMT 2004


"giovannibajo at libero dot it" <gcc-bugzilla@gcc.gnu.org> writes:


| Subject: Re:  can't compile self defined void distance(std::vector<T>, std::vector<T>)
| 
| Is there *anything* in the standard saying that the code is actually illegal?
| This is a rejects-valid IMO.

Giovanni --

  Can you elaborate on why you believe this is a reject a valid?

-- Gaby



More information about the Gcc-bugs mailing list