Can you comment on why you decided to inline it directly into the C header files as opposed to splitting it out somehow? Given William's comment on exceptions, it seems like it might well expand/evolve enough to make it awkward to inline.
--Rafael On Mon, Sep 10, 2012 at 2:47 PM, Andrew Stitcher <astitc...@redhat.com>wrote: > On Mon, 2012-09-10 at 14:16 -0400, William Henry wrote: > > It looks very attractive. Any plans to include exceptions? > > I was debating exceptions: On the one hand I wanted a very slim layer > with no hidden code - what is there now will pretty much compile > directly in to the same code as the equivalent C code. On the other > error handling using exceptions is much more idiomatic for a fuller C++ > interface. > > > > > (I like the use of 'auto' keyword. Had not seen it in code like this > before.) > > This is C++11 (the new version of the C++ language) which has type > inference built into the language. I wanted to make sure /demonstrate > that the bindings would work nicely with the new version of the language > (as well as with the old version). > > Andrew > > >