Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
NEW_FUNC_TEMPLATE_SYNTAX.cpp
Go to the documentation of this file.
1// checking template specialization syntax
2
3
26template <class T>
27int foo (T)
28{
29 return 0;
30}
31
32template<>
33int foo (int)
34{
35 return 1;
36}
37
38int bar ()
39{
40 return !(1 == foo (0));
41}
#define T
Definition 17.names.cpp:163
#define foo(buf, s,...)