vegastrike / Vega-Strike-Engine-Source

Vega Strike Engine
Other
256 stars 42 forks source link

Discussion: Whether to use `auto` for iterators #799

Closed stephengtuggy closed 1 year ago

stephengtuggy commented 1 year ago
          I'm fine with type inference where it is trivial. Example from other languages is something like

let someString = String('blah blah')

However, I'm less comfortable with replacing std::list::iterator with auto. I prefer to clearly see my C++ abominations.

_Originally posted by @royfalk in https://github.com/vegastrike/Vega-Strike-Engine-Source/pull/789#discussion_r1324999186_