views:

674

answers:

2

Is there a C++ wrapper for the Tokyo Cabinet API? Obviously I can use the basic C API from C++, but I'd much rather use something that abstracted the raw functions and structures into classes.

I'm tempted to write this myself, at least for the bits of the API that I'd want to use, but it'll save time if there's one already. I checked the TC website and did some googling, but didn't turn up anything...

+3  A: 

Flare seems to provide a C++ binding to Tokyo Cabinet. Source code on Git Hub

dajobe
Thanks. Unfortunately it's GPL-licensed, so using it would require me to GPL-license my code, which I won't do. (LGPL is OK.)
Jens Alfke
Well, you didn't mention that constraint in the question. You don't have to GPL license your code if you don't distribute it. Also, you could always ask them.
dajobe
A: 

You can try Kyoto Cabinet. It's a C++ version of Tokyo Cabinet.

Hao Wooi Lim