36 ConstIterator it = boost::const_begin(args);
37 ConstIterator end = boost::const_end(args);
42 for (; it != end; ++it)
44 if (boost::algorithm::contains(*it, String(1,
static_cast<Char
>(
' '))))
46 os << static_cast<Char>(
'"') << *it << static_cast<Char>(
'"');
52 os << static_cast<Char>(
' ');
55 cmd_line_.reset(
new Char[s.size() + 1]);
56 boost::copy(s, cmd_line_.get());
57 cmd_line_[s.size()] = 0;
61 cmd_line_.reset(
new Char[1]());