id,summary,reporter,owner,description,type,status,milestone,component,version,severity,resolution,keywords,cc 7658,Ambiguity error with function overloads,Ulrich Brandstätter ,Douglas Gregor,"The following code (relevant for a convenient thread-callback API) fails to compile with VC2010 due to a C2668 error: {{{ typedef boost::function fooCallback; typedef boost::function barCallback; void TestBF(fooCallback fc) {} void TestBF(barCallback bc) {} void MyFunc (int a, int b) {} int main(int argc, char **argv) { TestBF (&MyFunc); return 0; } }}} Without calling TestBF in main, everything is fine, there is no multiple definition error. A (most likely) related discussion thread can be found here: [http://boost.2283326.n4.nabble.com/Boost-Function-detecting-ignored-arguments-td4631919.html]. ",Bugs,new,To Be Determined,function,Boost 1.51.0,Problem,,,