satoren / kaguya

C++ binding to Lua
Boost Software License 1.0
345 stars 70 forks source link

can not assign a table from lua to a class member attribute #95

Open louislau86 opened 4 years ago

louislau86 commented 4 years ago

I have a class A, it contains a std::vector type member B. When i used state accessing a table from lua such as “B = lua["tableName"]; ”, error happened.

"error C2593: “operator =”不明确", My IDE is vs2019