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
NEW_FUNC_TEMPLATE_SYNTAX.cpp
Go to the documentation of this file.
1
// checking template specialization syntax
2
3
26
template
<
class
T>
27
int
foo
(
T
)
28
{
29
return
0;
30
}
31
32
template
<>
33
int
foo
(
int
)
34
{
35
return
1;
36
}
37
38
int
bar
()
39
{
40
return
!(1 ==
foo
(0));
41
}
T
#define T
Definition
17.names.cpp:163
bar
int bar()
Definition
NEW_FUNC_TEMPLATE_SYNTAX.cpp:38
foo
#define foo(buf, s,...)
Definition
VA_LIST_FUNC_MACRO.cpp:28
Generated by
1.9.8