at有两个重载函数, reference at( size_type _Pos);const_reference at( size_type _Pos) const;可以修改的.如果实在不行,用const_cast试试