Attempt to create the concept of "return values"

to reduce clones of values. This doesn't quite work
This commit is contained in:
Jason Turner
2015-04-07 13:54:38 -06:00
parent 5114ca9d35
commit 1f74bfd9b3
4 changed files with 56 additions and 31 deletions

View File

@@ -68,7 +68,8 @@ void take_shared_ptr(const std::shared_ptr<const std::string> &p)
int main(int /*argc*/, char * /*argv*/[]) {
using namespace chaiscript;
ChaiScript chai;
ChaiScript chai(chaiscript::Std_Lib::library());
//Create a new system object and share it with the chaiscript engine
System system;