Hi Everyone,
After a while of stagnation, I've managed to update and release the
memcache++ client to support more of the operations that the latest
memcached release supports. I've also updated the "fluent" interface
which allows you to write code like the following:
memcache::handle mc;
mc << memcache::server("localhost", 11211)
<< memcache::connect;
using namespace memcache::fluent;
key(mc, "foo") %= "bar"; // raw set the string contents
std::string container;
key(mc, "foo") >>= "ooo"; // append to the key
key(mc, "foo") <<= "foo"; // prepend to the key
wrap(container) = raw(mc, "foo");
assert(container == "foobarooo");
This interface is now documented and is the preferred way of using the
memcache++ client now.
You can get the latest release from http://memcachepp.sourceforge.net/
or http://github.com/mikhailberis/memcachepp/downloads . If you're
interested in the bleeding edge version of the library or you'd like
to contribute, then feel free to follow the library on github.
Have a great day and I hope this helps.
--
Dean Michael Berris
blog.cplusplus-soup.com | twitter.com/mikhailberis
linkedin.com/in/mikhailberis | facebook.com/dean.berris | deanberris.com