In § 16.3 (p. 698) we defined overloaded two versions of debug_rep one had a const char* and the other a char* parameter. Rewrite these functions as specializations.
§ 16.3 (p. 698)
Exercise 16.48
Write your own versions of the debug_rep functions.
Exercise 16.49
Explain what happens in each of the following calls:
templatevoid f(T);template void f(const T*);template void g(T);template void g(T*);int i = 42, *p = &i;const int ci = 0, *p2 = &ci;g(42); g(p); g(ci); g(p2);f(42); f(p); f(ci); f(p2);
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.