[comp.lang.eiffel] Confused about deferred classes and deferred routines

stuarth@csis.dit.csiro.au (Stuart Hungerford) (10/31/90)

In reading OOSC I came across this definition of a deferred class (pp 235):

    "A deferred class is a class C that contains a deferred routine..."

Okay but on the same page I read:

    "A deferred class must begin with the two keywords DEFERRED CLASS, rather
     than just CLASS..."

And yet the examples in the text, and the examples in the excerpts from the
library show plenty of classes with deferred routines that begin only
with the word CLASS.

What gives?  I've got a feeling I've overlooked something important mentioned
elsewhere in the book but if someone can straighten this out for me I'd
appreciate it.

Thanks,

Stuart


+-----------------------------------------------------------------------------+
| Internet : stuarth@csis.dit.csiro.au                  |                     |
| Voice    : +61-6-2750941                              |    _--_|\           |
| Fax      : +61-6-2571052                              |   /      \          |
| Physical : CSIRO Division of Information Technology,  |   \_.--._/          |
|            GPO Box 664, Canberra ACT 2601             |         v           |
|            AUSTRALIA                                  |                     |
+-----------------------------------------------------------------------------+