Pass iterator to Lua
Stefan Schindler <[email protected]> Thu, 21 Jul 2011 15:58:54 +0200
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I want to export a std::map<const string, ...> to Lua. The map instance exists at the C++ side and I'd like to iterate over all elements in a Lua script, like: for element in map do ... end Can I export iterators to the container to Lua or somethings similar? Greetings, Stefan. ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/