Last change
on this file since 301 was 301, checked in by bird, 22 years ago |
playing around to see what does it...
|
-
Property cvs2svn:cvs-rev
set to
1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
239 bytes
|
Line | |
---|
1 | class foo
|
---|
2 | {
|
---|
3 | char ch;
|
---|
4 | public:
|
---|
5 | #ifdef USE_INLINE
|
---|
6 | foo()
|
---|
7 | {
|
---|
8 | ch = 'k';
|
---|
9 | }
|
---|
10 | #else
|
---|
11 | foo();
|
---|
12 | #endif
|
---|
13 | };
|
---|
14 |
|
---|
15 | #ifndef USE_INLINE
|
---|
16 | foo::foo()
|
---|
17 | {
|
---|
18 | ch = 'k';
|
---|
19 | }
|
---|
20 | #endif
|
---|
21 |
|
---|
22 |
|
---|
23 | int main(int argc, char **argv)
|
---|
24 | {
|
---|
25 | foo obj;
|
---|
26 | return 0;
|
---|
27 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.