Problem during build process #398
-
Hi, I add the 3 src files (pugiconfig.hpp, pugixml.cpp, pugixml.hpp) to my application and while building I got an error on pugixml.hpp(614): error C2064: term does not evaluate to a function taking 1 arguments
in line: Why it's happening and Can any one help me with it? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Make sure that the predicate Most likely this is not the case and the compiler does not know how it should call the predicate with a single argument. |
Beta Was this translation helpful? Give feedback.
Make sure that the predicate
pred
with which you instantiated your function templatefind_attribute()
actually is a function or functor/lambda taking exactly one argument.Most likely this is not the case and the compiler does not know how it should call the predicate with a single argument.