|
Last change
on this file since 1470 was 1417, checked in by bird, 21 years ago |
|
.
|
-
Property cvs2svn:cvs-rev
set to
1.4
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
|
File size:
344 bytes
|
| Line | |
|---|
| 1 |
|
|---|
| 2 | #if 1
|
|---|
| 3 | #define dfprintf(a) fprintf a
|
|---|
| 4 | #else
|
|---|
| 5 | #define dfprintf(a) do {} while(0)
|
|---|
| 6 | #endif
|
|---|
| 7 |
|
|---|
| 8 | class expt
|
|---|
| 9 | {
|
|---|
| 10 | private:
|
|---|
| 11 | int i;
|
|---|
| 12 | const char *psz;
|
|---|
| 13 |
|
|---|
| 14 | public:
|
|---|
| 15 | expt(int i, const char *psz);
|
|---|
| 16 | int get() const;
|
|---|
| 17 | };
|
|---|
| 18 |
|
|---|
| 19 | class bar
|
|---|
| 20 | {
|
|---|
| 21 | int i;
|
|---|
| 22 | public:
|
|---|
| 23 | bar(int i);
|
|---|
| 24 | bar() throw(int);
|
|---|
| 25 | int get() const;
|
|---|
| 26 | int getThrow() const throw(expt);
|
|---|
| 27 | };
|
|---|
| 28 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.