Fix vector element assignment issues

This commit is contained in:
Jason Turner
2015-10-15 21:20:12 -06:00
parent b11ebf9e8f
commit 36765df3c0
5 changed files with 17 additions and 13 deletions

View File

@@ -297,6 +297,13 @@ namespace chaiscript
return *this;
}
Boxed_Value &clone_attrs(const Boxed_Value &t_obj)
{
copy_attrs(t_obj);
reset_return_value();
return *this;
}
/// \returns true if the two Boxed_Values share the same internal type
static bool type_match(const Boxed_Value &l, const Boxed_Value &r) CHAISCRIPT_NOEXCEPT