I have some trouble about auto reference.
about
const int i = 1; auto & ri1 = i; auto & ri2 = 1; //error
Why is deduced type of
Since i has type const int, but 1 has type int.
i
const int
1
int