Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Commit c271f92

Browse files
committed
Add a todo for more customizable instantiation to ClassInfo.
1 parent ad35443 commit c271f92

File tree

1 file changed

+3
-0
lines changed
  • dang-lua/include/dang-lua/convert

1 file changed

+3
-0
lines changed

dang-lua/include/dang-lua/convert/Class.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,9 @@ struct DefaultClassInfo {
9595
static std::string getCheckTypename() { return "<class>"; }
9696
static std::string getPushTypename() { return getCheckTypename(); }
9797

98+
// TODO: Even more customizable initializations:
99+
// - function -> std::function (containing reference)
100+
// - table -> std::vector/std::map/...
98101
static constexpr auto allow_table_initialization = false;
99102

100103
static constexpr std::array<luaL_Reg, 0> methods() { return {}; }

0 commit comments

Comments
 (0)