Revise your TextQuery programs from § 12.3 (p. 484) so that the shared_ptr members use a DebugDelete as their deleter (§ 12.1.4, p. 468).
§ 12.3 (p. 484)
Exercise 12.26
Rewrite the program on page 481 using an allocator.
§ 12.1.4 (p. 468)
Exercise 12.14
Write your own version of a function that uses a shared_ptr to manage a connection.
Exercise 12.15
Rewrite the first exercise to use a lambda (§ 10.3.2, p. 388) in place of the end_connection function.
§ 10.3.2 (p. 388)
Exercise 10.14
Write a lambda that takes two ints and returns their sum.
Exercise 10.15
Write a lambda that captures an int from its enclosing function and takes an int parameter. The lambda should return the sum of the captured int and the int parameter.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.