mirror of
https://github.com/iandinwoodie/cpp-design-patterns-for-humans.git
synced 2025-12-17 12:34:38 +03:00
Resolved unterminated code block.
This commit is contained in:
@@ -478,6 +478,7 @@ class Burger
|
|||||||
Burger(int patties, bool cheese = true, bool pepperoni = true,
|
Burger(int patties, bool cheese = true, bool pepperoni = true,
|
||||||
bool tomato = true, lettuce = true);
|
bool tomato = true, lettuce = true);
|
||||||
}
|
}
|
||||||
|
```
|
||||||
|
|
||||||
As you can see; the number of constructor parameters can quickly get out of hand
|
As you can see; the number of constructor parameters can quickly get out of hand
|
||||||
and it might become difficult to understand the arrangement of parameters. Plus
|
and it might become difficult to understand the arrangement of parameters. Plus
|
||||||
|
|||||||
Reference in New Issue
Block a user