[Effective-cpp] Item 15: Provide access torawresourcesinresource-managing cla sses

Adrian Fagg adrianf at evaluategroup.com
Tue Jun 27 06:37:04 EDT 2006


> -----Original Message-----
> From: effective-cpp-bounces at accu.org 
> [mailto:effective-cpp-bounces at accu.org] On Behalf Of Paul Grenyer

> So what would you do instead? Assuming the C API was third 
> party and you can't change it?

I'd wrap the C API, either directly (one C function => one member function)
or not.

Adrian





More information about the Effective-cpp mailing list