-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
If I'm not mistaken the sample http://jakobovrum.github.com/LuaCpp/config_8cpp-example.html is technically broken.
const char* bar;
c.bar = t["bar"];
This will invoke the char * conversion which does not imply a copy, and since there's no copy the data is liable to be removed depending on what happens in the Lua state.
Noted without testing or even looking at the latest version of your code so bleah.
Metadata
Metadata
Assignees
Labels
No labels