you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 1 year ago (2 children)

Nuter one of the main reasons for headers: documentation.

  • source
  • parent
  • hideshow 2 child comments
  • [–] 2 points 1 year ago (1 child)

    I think you're conflating regular auto use with using it as a return type/argument. The latter is syntactic sugar for declaring a template. It isn't any less "documented" than doing a template<class ReturnType>....

  • source
  • parent
  • hideshow 1 child comment