coder52 / Cpp-Primer-Solutions-2013

MIT License
0 stars 0 forks source link

Page 230 Exercise 6.37 : Write three additional declarations for the function in the previous exercise. #42

Closed coder52 closed 3 years ago

coder52 commented 3 years ago

a. One should use a type alias, b. one should use a trailing return, c. and the third should use decltype. Which form do you prefer and why?