ParseCommandInfo const & command)
const
{
- v_execute(output, command);
+ boost::any rv;
+ execute(rv, output, command);
+}
+
+prefix_ void senf::console::CommandNode::execute(boost::any & rv, std::ostream & output,
+ ParseCommandInfo const & command)
+ const
+{
+ rv = boost::any();
+ v_execute(rv, output, command);
}
prefix_ void senf::console::CommandNode::operator()(std::ostream & output,
execute(output, command);
}
+prefix_ void senf::console::CommandNode::operator()(boost::any & rv, std::ostream & output,
+ ParseCommandInfo const & command)
+ const
+{
+ execute(rv, output, command);
+}
+
///////////////////////////////////////////////////////////////////////////
// senf::console::SimpleCommandNode