lua-users home
lua-l archive

Simulate Polymorphism in Lua

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


I would like to bind two functions that are using polymorphisms in C++, to Lua, is this possible?

example:
Create( std::string path, std::string section )
and
Create( std::string hardware, std::string device, std::map<std::string, std::string> hardwareInitSettings )
--
Regards,
Ryan

AltStyle によって変換されたページ (->オリジナル) /