Debian Codegraph @

yo/concrete/examples/command.h

raw
1 #include <string>
2 #include <vector>
3 #include <algorithm>
4
5 class Command
6 {
7 std::string d_line;
8 std::vector<std::string> d_command;
9
10 public:
11 Command(size_t n, char const **commands)
12 {
13 copy(commands, commands + n, back_inserter(d_command));
14 }
15
16 int next(std::string &line);
17 };