Mooophy / Cpp-Primer

C++ Primer 5 answers
Creative Commons Zero v1.0 Universal
8.11k stars 3k forks source link

Mistake in explanation of Ex.16.42 (c) #810

Closed rawrex closed 2 years ago

rawrex commented 3 years ago

Since the T is deduced to be plain T (i.e. plain, non-reference int), the val will be of type int&&. There's no int&& &&, since T is a plain type.