const函数只能在类里面创建,如果是const函数,那么只能修改const函数里面申请的临时变量,外面的变量都不能修改,而且const实例化的类只能应用const函数,非const实例化的类都可以应用