top
|
up
|
prev
|
next
ClassTemplateSpecializationKeyHash Struct
Definition at line
63
of
SymbolTable.hpp
Member Functions
size_t
operator()
(
const
ClassTemplateSpecializationKey
& key)
const
Member Function Details
operator() Member Function
size_t cmajor::symbols::ClassTemplateSpecializationKeyHash::operator()(
const
ClassTemplateSpecializationKey
& key)
const
Definition at line
65
of
SymbolTable.hpp
:
66
{
67
size_t
x
=
boost
::
hash
<
boost
::
uuids
::
uuid
>
(
)
(
key
.
classTemplate
->
TypeId
(
)
)
;
68
int
n
=
key
.
templateArgumentTypes
.
size
(
)
;
69
for
(
int
i
=
0
;
i
<
n
;
++
i
)
70
{
71
x
=
x
^
boost
::
hash
<
boost
::
uuids
::
uuid
>
(
)
(
key
.
templateArgumentTypes
[
i
]
->
TypeId
(
)
)
;
72
}
73
return
x
;
74
}
Calls:
cmajor::symbols::TypeSymbol::TypeId
top
|
up
|
prev
|
next