MCPcopy Create free account
hub / github.com/boostorg/spirit / actor_cpp

Function actor_cpp

classic/example/fundamental/comments.cpp:57–62  ·  view source on GitHub ↗

////////////////////////////////////////////////////////////////////////// actor called after successfully matching a C++-comment

Source from the content-addressed store, hash-verified

55///////////////////////////////////////////////////////////////////////////////
56// actor called after successfully matching a C++-comment
57void actor_cpp (const char *pfirst, const char *plast)
58{
59 cout << "Parsing C++-comment" <<endl;
60 cout << "Matched (" << plast-pfirst << ") characters: ";
61 cout << "\"" << std::string(pfirst, plast) << "\"" << endl;
62}
63
64///////////////////////////////////////////////////////////////////////////////
65// main entry point

Callers

nothing calls this directly

Calls 1

stringFunction · 0.85

Tested by

no test coverage detected