Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Main Page
Related Pages
Topics
Namespaces
Data Structures
Files
File List
Globals
EXTERNAL_HEADERS
RSL
etc
config
src
collapse_template_locals.lib.cpp
Go to the documentation of this file.
1
2
24
// also defined in COLLAPSE_TEMPLATE_STATICS.cpp
25
template
<
class
T>
26
T
foo
(
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
38
int
bar
()
39
{
40
return
foo
(0);
41
}
T
#define T
Definition
17.names.cpp:163
t
#define t
Definition
17.names.cpp:136
foo
#define foo(buf, s,...)
Definition
VA_LIST_FUNC_MACRO.cpp:28
__declspec
__declspec(dllimport) void __stdcall InitializeCriticalSection(_RWSTD_CRITICAL_SECTION *)
bar
int bar()
Definition
collapse_template_locals.lib.cpp:38
Generated by
1.9.8