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 giovannibajo at libero dot it  2004-06-10 16:23 -------
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)

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.


-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c++                         |libstdc++


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]