引用第4楼water_wf于2010-11-24 12:31发表的 :
你再看看说明[]操作符返回的是引用, value返回的copy构造的。
Returns the value associated with the key as amodifiable reference.
If the hash contains no item with the key, thefunction inserts a default-constructedvalue into the hash with the key, and returns a reference to it.
