hi i have a problem.
error: no matching function for call to `test1(int&, int)'
i dont know why functor wrong.Code:namespace test0 { template<typename test10, typename test11> const bool test1(bool&, const test10&, const test11&) { return(true); } } template<typename test10, typename test11, typename test12> const bool test1(test10&, const test11&, const test12& = test0::test1) { return(false); } int main(void) { int x = 0; test1(x, 0); }




Reply With Quote