• 0 Posts
  • 4 Comments
Joined 1 year ago
cake
Cake day: July 15th, 2023

help-circle



  • It is useful in very specific cases when using templates since C++ compiler processes from left to right and template types are not in scope before the function signature. Using auto keyword you can work around it specifying auto before the function signature and then later once everything is in scope, you specify the actual type via “->”.