Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
collapse_template_locals.lib.cpp
Go to the documentation of this file.
1
2
24// also defined in COLLAPSE_TEMPLATE_STATICS.cpp
25template <class T>
27{
28 // multiple instances of `t' must be collapsed
29 static T t;
30 return t++;
31}
32
33
34// bar() returns foo()
35#if defined (_WIN32) && defined (_DLL)
36__declspec (dllexport)
37#endif // _WIN32 && _DLL
38int bar ()
39{
40 return foo (0);
41}
#define T
Definition 17.names.cpp:163
#define t
Definition 17.names.cpp:136
#define foo(buf, s,...)
__declspec(dllimport) void __stdcall InitializeCriticalSection(_RWSTD_CRITICAL_SECTION *)