谷歌协议缓冲区是否支持stl向量,映射和提升共享指针?我有一些对象,大量使用stl containers喜欢maps,vectors也boost::shared_ptr.我想使用谷歌协议缓冲区将这些对象通过网络序列化到不同的机器.
stl containers
maps
vectors
boost::shared_ptr
我想知道google protobuf是否支持这些容器?另外,如果我使用apache thrift,它会更好吗?我只需要序列化/反序列化数据,不需要apache thrift提供的网络传输.另外apache thrift没有适当的文档也让我失望.
apache thrift
thrift protocol-buffers
protocol-buffers ×1
thrift ×1