Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
e41580f0
Commit
e41580f0
authored
Sep 10, 2008
by
mattijs
Browse files
comparison operator
parent
3128561a
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/OpenFOAM/containers/HashTables/HashSet/HashSet.H
View file @
e41580f0
...
...
@@ -100,6 +100,17 @@ public:
{
return
HashTable
<
empty
,
Key
,
Hash
>::
insert
(
key
,
empty
());
}
// Member Operators
//- Equality. Two hashtables are equal if all contents of first are
// also in second and vice versa. So does not depend on table size or
// order!
bool
operator
==
(
const
HashSet
<
Key
,
Hash
>&
)
const
;
//- The opposite of the equality operation.
bool
operator
!=
(
const
HashSet
<
Key
,
Hash
>&
)
const
;
};
...
...
@@ -112,6 +123,12 @@ typedef HashSet<> wordHashSet;
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#ifdef NoRepository
# include "HashSet.C"
#endif
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
#endif
// ************************************************************************* //
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment