Luabind: Transparent Lua FFI and Embedding
Introduction
luabind is a header-only library that facilitates bi-directional bindings between C++ and Lua. I began this project as a learning exercise, to practice more advanced modern C++ features like template metaprogramming, constexpr, SFINAE, C++20 “concepts”/“requires”, CTAD, and more.
Though you can find more examples of the usage in the tests for luabind, here is one of the unittests which demonstrates some of its capabilities:
1 | TEST(LuaBind, Expose) { |