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
SPECIALIZED_FRIEND.cpp
Go to the documentation of this file.
1
// checking template<> in friend specializations
2
3
25
template
<
class
T>
26
struct
S
;
27
28
template
<
class
T>
29
int
operator==
(
const
S<T>
&,
const
S<T>
&);
30
31
template
<
class
T>
32
struct
S
33
{
34
friend
int
operator==<> (
const
S
&,
const
S
&);
35
};
36
37
template
<
class
T>
38
int
operator==
(
const
S<T>
&,
const
S<T>
&)
39
{
40
return
1;
41
}
42
43
int
foo
()
44
{
45
S<int>
s
;
46
return
!(
s
==
s
);
47
}
s
#define s
Definition
rw_alg_test.h:221
foo
int foo()
Definition
SPECIALIZED_FRIEND.cpp:43
operator==
int operator==(const S< T > &, const S< T > &)
Definition
SPECIALIZED_FRIEND.cpp:38
S
Definition
COLLAPSE_TEMPLATE_STATICS.cpp:40
Generated by
1.9.8