MCPcopy Create free account
hub / github.com/boostorg/parser / main

Function main

example/hello.cpp:15–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13namespace bp = boost::parser;
14
15int main(int argc, char const * argv[])
16{
17 std::string input = "World";
18 if (1 < argc)
19 input = argv[1];
20
21 std::string result;
22 bp::parse(input, *bp::char_, result);
23 std::cout << "Hello, " << result << "!\n";
24}
25//]

Callers

nothing calls this directly

Calls 1

parseFunction · 0.70

Tested by

no test coverage detected