Subject Re: [IB-Architect] Re: New API -- Request for Comments
Author Doug Chamberlin
At 5/30/00 06:03 PM (Tuesday), Jim Starkey wrote:
> >C. "Connection *connection = createConnection();"
> >So you prefer to ban things like "Connection* connection = new
> >Connection();" ?
> >Or "Connection connection;" ?
> >Anyway, we at least require some releaseConnection() or freeConnection() to
> >free resources, then.
> >
>First, that won't compile because Connection is an abstract class --
>it is a pure interface with no code behind it. The actual Connection
>object will be a subclass of Connection substantiated by a Jdbc

Shouldn't Connection - and all the other purely abstract classes - be
defined as interfaces? Or does C++ not have interfaces?