[oolua] Overloaded static functions

  • From: SteelRat <steelrat@xxxxxxx>
  • To: oolua@xxxxxxxxxxxxx
  • Date: Fri, 31 Jan 2014 16:22:45 +0400

Hi Liam, is there any way to use overloaded static functions?

/class Test//
//{//
//    public://
//        static void StaticFunction();
//        static void ///StaticFunction/(const std::string& txt);//
//};//
/


OOLUA_PROXY( /Test///)
OOLUA_SFUNC(/StaticFunction/) *// error C2914: 'OOLUA::INTERNAL::proxy_c_function_with_default_traits' : cannot deduce template argument as function argument is ambiguous*
OOLUA_PROXY_END

Other related posts: