Protobuf中RepeatedPtrField不能直接放在vector容器中比如下面的用法是错误的,原因是push_back的时候会调用 operator =,而在protobuf2.3中, operator = 在RepeatedPtrField中是private的。