Added initializer_list<T> conversion as possible function call argument or return type.

This commit is contained in:
Viktor Rennert
2016-01-26 00:06:57 +01:00
parent 561b47e463
commit fcca453223
3 changed files with 103 additions and 1 deletions

View File

@@ -1005,6 +1005,7 @@ namespace chaiscript
try {
std::vector<Boxed_Value> vec;
if (!children.empty()) {
vec.reserve(children[0]->children.size());
for (const auto &child : children[0]->children) {
auto obj = child->eval(t_ss);
if (!obj.is_return_value()) {