Skip to content

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

@louislau86

Description

@louislau86

I have a class A, it contains a std::vectorstd::string 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions