Hello, Is there a way to directly allocate a RepeatedPtrField with n empty pointers? I know that there is a Reserve() function, but that doesn't change the current_size variable. I am wondering why there is no "Resize()" function for RepeatedPtrField (not RepeatedField), similar to std::resize for a vector.
Best, Charles -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/caea2f12-ffe5-477d-a0cf-daaebefe60edn%40googlegroups.com.