-
-
Save erikvalkering/1892ff460a442c160920d7572515d41e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Car | |
{ | |
string brand_; | |
string model_; | |
public: | |
auto &brand() { return brand_; } | |
auto &model() { return model_; } | |
}; | |
class CarDealership | |
{ | |
string name_; | |
vector<Car> showroom_; | |
public: | |
auto &name() { return name_; } | |
auto &showroom() { return showroom_; } | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment