I think auto won't have any run-time performance since type deduction happens at compile-time.
Also read this https://stackoverflow.com/questions/19618759/c-11-auto-compi...
Also read this https://stackoverflow.com/questions/19618759/c-11-auto-compi...
[1] Like by taking the approach that results in a cast, e.g. here: https://news.ycombinator.com/item?id=20493263