Restrictions on auto keyword for type inference in C2X
int main() { auto status = 203; auto static const str = “Hello”; auto static const strs = {“Hello”, “World”}; return status; } From playing around with auto (and reading some articles), I discovered that it can not be used as a function’s return type or as a parameter, but can only be applied on […]