Comment #8 on issue 336 by olafvds...@gmail.com: Support generic string type
http://code.google.com/p/protobuf/issues/detail?id=336

however passing a wstring to the proposed methods will merely cause a compile time warning

Really?

const char* a;
const wchar_t* b = a;

This does *not* compile. Why do you think this would merely generate an error?

1. write a utility method to do this for you.

Can that be done without an unnecessary std::string construction/copy?

--
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