tgockel / zookeeper-cpp

A ZooKeeper client for C++.
http://tgockel.github.io/zookeeper-cpp/
Apache License 2.0
148 stars 40 forks source link

use std::string as zk::buffer #111

Closed Jauler closed 4 years ago

Jauler commented 4 years ago

Hey,

In some cases it would be very convenient for zk::buffer to be implemented by std::string (e.g. when using this library together with google protobuffers). This PR adds ability to select std::string as zk::buffer during build configuration.

tgockel commented 4 years ago

Good idea.