Lecture 2 - Slide 24 : 29 |
It is possible to decuce the type of an arbitrary expression with decltype
Most real-life uses of decltype takes place in generic program - using templates
![]() | Another sample use of decltype in a function template: container example. |