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 gcc dot gnu dot org  2004-08-03 11:29 -------
(In reply to comment #9)
> OK. So one of these:
> 
> - Either SFINAE does not work as expected while instantiating std::distance 
> declaration
> - Or v3 should be fixed to rely on SFINAE to reject invalid uses (with, eg, 
> enable_if)

On what grounds?  Just because you want it?

> 
> It pretty much depends on how distance is declared, but I tend to think that 
> it's the latter. I'm tentatively moving the bug to be a v3 bug to catch v3 
> specialist attention. I don't have a compiler tree handy to check myself right 
> now.
> 



-- 


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]