home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The C Users' Group Library 1994 August
/
wc-cdrom-cusersgrouplibrary-1994-08.iso
/
listings
/
v_10_09
/
1009022a
< prev
next >
Wrap
Text File
|
1992-07-08
|
334b
|
20 lines
// LISTING 3
#ifndef EXCEPTION_H
#define EXCEPTION_H
/*
stype() and type() are the same function, the difference is
that stype() can be called without an instance, like
Exception::stype();
*/
class Exception {
public:
static stype {return 0;}
virtual type() {return 0;}
virtual size() {return sizeof(Exception);}
};
#endif