Hi all, 

As said in the official document [C++ Generated Code 
String Fields]:

But in my test, the string pointed by the returned pointer just has the 
default value. My test environment is Win764bit, Visual Studio 2013.
Here is my test:

*Message definition:*


*Test code:(without set the string field before use its mutable pointer)*




Why? Please notice me if I misunderstood the doc.

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 post to this group, send email to protobuf@googlegroups.com.
Visit this group at http://groups.google.com/group/protobuf.
For more options, visit https://groups.google.com/d/optout.

Reply via email to