http://llvm.org/bugs/show_bug.cgi?id=11377

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|                            |FIXED

--- Comment #3 from Richard Smith <[email protected]> 2012-05-14 
15:12:43 CDT ---
This was fixed in r156297. We now produce:

huh2.cpp:23:2: error: no matching function for call to 'test_sequence'
        test_sequence ( v, lessThan10, v.begin () + 5 );
        ^~~~~~~~~~~~~
huh2.cpp:7:6: note: candidate template ignored: substitution failure [with
Container = std::vector<int, std::allocator<int>>,
      Predicate = bool (*)(int)]: no type named 'interator' in
'std::vector<int, std::allocator<int>>'
void test_sequence ( Container &v, Predicate comp, typename
Container::interator point ) {
     ^                                                                
~~~~~~~~~

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to