Open LB-- opened 8 years ago
Const references don't require the referenced value to be immutable.
Once immutable, always immutable.
A const reference can be constructed from any object whether immutable or not.
https://www.reddit.com/r/cpp/comments/5ipddb/more_const_fewer_bugs/dba2l89/
Perhaps allow moving values by removing them from scope.
Const references don't require the referenced value to be immutable.
Once immutable, always immutable.
A const reference can be constructed from any object whether immutable or not.