Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
IMPLICIT_INCLUSION.cpp
Go to the documentation of this file.
1// checking for implicit file inclusion
2
3
26
27int main ()
28{
29 S<int> si;
30
31 int result = si.foo ();
32
33 // exercise implicit inclusion with member templates
34 // to detect SunPro 5.7 bug #475
35
36 S<double> sd;
37
38 result += sd.bar (result);
39
40 return result;
41}
volatile int result
int main()
T foo() const