Archives
Trending
Support
Login
Interview Collection Threads
Raw
Download
Revise
struct Person {
std::string id;
std::string name;
int age;
};
class PersonRepository {
public:
void addPerson(const Person& p) {
}
std::optional<Person> getPerson(const std::string& id) const {
}
};