|
Boost Users : |
From: Kevin Martin (kev82_at_[hidden])
Date: 2008-05-16 15:37:59
On 16 May 2008, at 18:50, Noah Roberts wrote:
> Kevin Martin wrote:
>>
>> Is encapsulating the sqlite pointer in an object and having the
>> destructor do that not a better alternative?
>
> Why would it be? What's gained?
>
A layer of abstraction between the library calls and your user code.
Whether this is a gain or not depends on your opinion I suppose.
Thanks,
Kevin Martin
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net