Ampersand & with const in constructor
问题 Can some body tell me the reason why we usually put const and & with some object which is passed in the constructor for example. Book::Book(const Date &date); The confusion that i have here is that usually & sign is used in the some function because the value is passed by reference and whatever changes happen to that variable in the function should reflect afterwards. But on the other hand const says that no assignment can be done to that variable. If some body have some good idea about that