top
|
up
|
prev
|
next
BoundConceptKeyHash Struct
Definition at line
111
of
BoundConstraint.hpp
Member Functions
bool
operator()
(
const
BoundConceptKey
& boundConceptKey)
const
Member Function Details
operator() Member Function
bool
cmajor::binder::BoundConceptKeyHash::operator()(
const
BoundConceptKey
& boundConceptKey)
const
Definition at line
113
of
BoundConstraint.hpp
:
114
{
115
size_t
hashCode
=
boost
::
hash
<
boost
::
uuids
::
uuid
>
(
)
(
boundConceptKey
.
conceptSymbol
->
TypeId
(
)
)
;
116
int
n
=
boundConceptKey
.
Arity
(
)
;
117
for
(
int
i
=
0
;
i
<
n
;
++
i
)
118
{
119
hashCode
^=
boost
::
hash
<
boost
::
uuids
::
uuid
>
(
)
(
boundConceptKey
.
typeArguments
[
i
]
->
TypeId
(
)
)
;
120
}
121
return
hashCode
;
122
}
Calls:
cmajor::binder::BoundConceptKey::Arity
,
cmajor::symbols::ConceptSymbol::TypeId
top
|
up
|
prev
|
next