We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 45a4770 commit 1aef2c5Copy full SHA for 1aef2c5
1 file changed
content/reference/cpp/cpp-generated.md
@@ -109,6 +109,11 @@ strings.
109
- `string DebugString()`: Return a string giving the `text_format`
110
representation of the proto (should only be used for debugging).
111
112
+If parsing fails (methods returning `false`), the message is left in an
113
+arbitrary but valid state. Similar to a moved-from object in C++, it is safe to
114
+destroy the message or `Clear()` it, but its contents should otherwise be
115
+considered unspecified.
116
+
117
In addition to these methods, the `Foo` class defines the following methods:
118
119
- `Foo()`: Default constructor.
0 commit comments