MCPcopy Create free account
hub / github.com/dhanji/g3 / Person

Method Person

examples/test_code/example.cpp:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8
9public:
10 Person(const std::string& name, int age) : name(name), age(age) {}
11
12 void greet() {
13 std::cout << "Hello, I'm " << name << " and I'm " << age << " years old." << std::endl;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected