Support reassignment of undefined Boxed_Values

This commit is contained in:
Jason Turner
2009-06-10 04:57:42 +00:00
parent 53c3e2ee25
commit c4e3328bb1
5 changed files with 144 additions and 16 deletions

View File

@@ -59,7 +59,7 @@ struct Handle_Return<void>
Boxed_Value operator()(const boost::function<void ()> &f)
{
f();
return Boxed_Value();
return Boxed_Value(Boxed_Value::Void_Type());
}
};