Comment #10 on issue 336 by [email protected]: Support generic string type
http://code.google.com/p/protobuf/issues/detail?id=336

ok,
my bad :-), I was thinking about the iterators based c'tor of std::string, this is not the one you are proposing to use. ...though your idea can be extended in such a way that does demonstrate the warning:

template< typename It >
set_xxx( It b, It e ){
  xxx_->assign( b, e );
}

ps. I steel think this is a bad idea.

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

Reply via email to