Hi,
As is known to lots of people, std::string performs not good for such
reasons as copy-on-write,... etc.
So in my own system i have my own string utilities replaced all
std::string. How could i serialize my own string using protocol
buffer?
Of course i can convert my own string into std::string, but it will
affect the performance.
It's better to use my own string this way:

message Vector{
        repeated MyString person = 1;
}

Do I have a convienient way to do so?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to 
protobuf+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to