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 c++/29596] overloaded function not found



------- Comment #11 from rguenth at gcc dot gnu dot org  2006-10-27 11:04 -------
I believe the testcase is invalid.  EDG says:

test.cpp(5824): error: no instance of overloaded function
"boost::lambda::lambda_functor<T>::operator() [with
T=boost::lambda::placeholder<1>]" matches the argument list
            argument types are: (std::pair<int, int>)
            object type is: boost::lambda::placeholder1_type
      std::cout << (boost::lambda::_1)(std::make_pair(a, b)) << std::endl;
                   ^

compilation aborted for test.cpp (code 2)


-- 


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


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