~ubuntu-branches/ubuntu/hardy/libterralib/hardy

« back to all changes in this revision

Viewing changes to src/STLport/stl/_relops_hash_cont.h

  • Committer: Bazaar Package Importer
  • Author(s): Daniel T Chen
  • Date: 2005-11-25 22:32:59 UTC
  • Revision ID: james.westby@ubuntu.com-20051125223259-3zubal8ux4ki4fjg
Tags: upstream-3.0.3b2
ImportĀ upstreamĀ versionĀ 3.0.3b2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// This is an implementation file which
 
2
// is intended to be included multiple times with different _STLP_ASSOCIATIVE_CONTAINER
 
3
// setting
 
4
 
 
5
_STLP_TEMPLATE_HEADER
 
6
inline bool _STLP_CALL 
 
7
operator==(const _STLP_TEMPLATE_CONTAINER& __hm1, const _STLP_TEMPLATE_CONTAINER& __hm2)
 
8
{
 
9
  return _STLP_TEMPLATE_CONTAINER::_M_equal(__hm1, __hm2);
 
10
}
 
11
 
 
12
#ifdef _STLP_USE_SEPARATE_RELOPS_NAMESPACE
 
13
 
 
14
_STLP_TEMPLATE_HEADER
 
15
inline bool _STLP_CALL 
 
16
operator!=(const _STLP_TEMPLATE_CONTAINER& __hm1, const _STLP_TEMPLATE_CONTAINER& __hm2) {
 
17
  return !(__hm1 == __hm2);
 
18
}
 
19
 
 
20
#endif /* _STLP_USE_SEPARATE_RELOPS_NAMESPACE */
 
21
 
 
22
#ifdef _STLP_FUNCTION_TMPL_PARTIAL_ORDER
 
23
 
 
24
_STLP_TEMPLATE_HEADER
 
25
inline void _STLP_CALL 
 
26
swap(_STLP_TEMPLATE_CONTAINER& __hm1, _STLP_TEMPLATE_CONTAINER& __hm2)
 
27
{
 
28
  __hm1.swap(__hm2);
 
29
}
 
30
 
 
31
#endif /* _STLP_FUNCTION_TMPL_PARTIAL_ORDER */
 
32