How to std::copy from std::string to std::vector?

后端 未结 0 1396
没有蜡笔的小新
没有蜡笔的小新 2020-12-29 09:16
    auto s = fxMessageResponse.SerializeAsString(); //this returns std::string
    std::vector bytes(s.size());
    std::copy( s.begin(), s.end()         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题