Hi all,
Happy new year and thanks for providing protobuf as an open-source
project!
We thought the previous days of migrating from 2.2.0a to 2.3.0, so
yesterday this task has been started.
We have the following setup for our application:
- Windows XP SP3
- C++, Visual Studio 2008, Release
Status: New
Owner: ken...@google.com
Labels: Type-Defect Priority-Medium
New issue 154 by huas.su: Generate operator =() implementatoin for messages.
http://code.google.com/p/protobuf/issues/detail?id=154
The C++ class generated by protoc for a message doesn't implement an
operator
= ()
The limit applies to the data source from which a message is parsed. So if
you want to parse a serialization of Foo, it applies to Foo. But if you
parse a bunch of Bar messages one by one, and add them individually to Bar,
then the limit only applies to each individual Bar.
You can change the
But you should consider a design that doesn't require you to send enormous
messages. Protocol buffers are not well-optimized for this sort of use.
For data stored on disk, consider storing multiple records in a RecordIO
file. For data passed over Stubby, consider streaming it in multiple
Updates:
Status: WorkingAsIntended
Comment #1 on issue 154 by ken...@google.com: Generate operator =()
implementatoin for messages.
http://code.google.com/p/protobuf/issues/detail?id=154
I think you mean operator==().
We intentionally chose not to include comparison, as we find it
Comment #12 on issue 122 by ken...@google.com: Two test failures on Windows
http://code.google.com/p/protobuf/issues/detail?id=122
That is, you need to specify the full path of the .proto file, which should
start with
some directory in the proto_path.
Comment #13 on issue 122 by ken...@google.com: Two test failures on Windows
http://code.google.com/p/protobuf/issues/detail?id=122
Err, remove the That is, from the start of that post.
--
You received this message because you are listed in the owner
or CC fields of this issue, or because you
Comment #3 on issue 154 by huas.su: Generate operator =() implementatoin
for messages.
http://code.google.com/p/protobuf/issues/detail?id=154
Thanks for your comments. I think message1.SerializeAsString() ==
message2.SerializeAsString() is acceptable.
--
You received this message because
Comment #2 on issue 154 by huas.su: Generate operator =() implementatoin
for messages.
http://code.google.com/p/protobuf/issues/detail?id=154
Thanks for your comments. I think message1.SerializeAsString() ==
message2.SerializeAsString() is acceptable.
--
You received this message because