|
|
|
|
|
by gpderetta
190 days ago
|
|
In what way it is a footgun? auto x = ... ; does what I would expect. Copying is usually the default in C++ and that's what I would expect to happen here. If auto deduced reference types transparently, it would actually be more dangerous. |
|
So I guess I depart from you there and thus my issue here is not really about auto