We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d3bf77 commit 2a714d9Copy full SHA for 2a714d9
README.md
@@ -78,7 +78,10 @@ It should be >= 7.0
78
Change functions from `main.cpp` into lambdas (`sortByArea`, `perimeterBiggerThan20`, `areaLessThan10`)
79
Change lambda `areaLessThan10` into lambda `areaLessThanX`, which takes `x = 10` on a capture list. What is the problem?
80
Use `std::function` to solve the problem.
81
-17. variadic templates:
+17. structured bindings:
82
+ Create an `std::map<shared_ptr<Shape>, double>` that will hold a shape and it's perimeter.
83
+ Use structured bindings to iterate over this collection and display shape info (call `print()` member function) and a perimeter.
84
+18. variadic templates:
85
Write a factory method which should work like `std::make_shared`.
86
It should have below signature:
87
0 commit comments