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

« back to all changes in this revision

Viewing changes to src/STLport/stl/debug/_relops_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
#ifdef _STLP_EXTRA_OPERATORS_FOR_DEBUG
 
6
 
 
7
_STLP_TEMPLATE_HEADER
 
8
inline  bool _STLP_CALL
 
9
operator==(const _STLP_TEMPLATE_CONTAINER& __x, const _STLP_TEMPLATE_CONTAINER& __y)
 
10
{
 
11
  return (const _STLP_TEMPLATE_CONTAINER_BASE&)__x == (const _STLP_TEMPLATE_CONTAINER_BASE&)__y; 
 
12
}
 
13
 
 
14
_STLP_TEMPLATE_HEADER
 
15
inline  bool _STLP_CALL
 
16
operator<(const _STLP_TEMPLATE_CONTAINER& __x, const _STLP_TEMPLATE_CONTAINER& __y)
 
17
{
 
18
  return (const _STLP_TEMPLATE_CONTAINER_BASE&)__x < (const _STLP_TEMPLATE_CONTAINER_BASE&)__y; 
 
19
}
 
20
 
 
21
_STLP_RELOPS_OPERATORS( _STLP_TEMPLATE_HEADER , _STLP_TEMPLATE_CONTAINER )
 
22
 
 
23
#endif /* _STLP_EXTRA_OPERATORS_FOR_DEBUG */
 
24
 
 
25
#ifdef _STLP_FUNCTION_TMPL_PARTIAL_ORDER
 
26
 
 
27
_STLP_TEMPLATE_HEADER
 
28
inline void _STLP_CALL swap(_STLP_TEMPLATE_CONTAINER& __x, _STLP_TEMPLATE_CONTAINER& __y)
 
29
{
 
30
  __x.swap(__y);
 
31
}
 
32
 
 
33
#endif /* _STLP_FUNCTION_TMPL_PARTIAL_ORDER */
 
34
 
 
35
#if 0 /* def _STLP_CLASS_PARTIAL_SPECIALIZATION */
 
36
 
 
37
_STLP_TEMPLATE_HEADER
 
38
struct __type_traits<_STLP_STD::_STLP_TEMPLATE_CONTAINER > : __type_traits_aux<0, 1>
 
39
{};
 
40
 
 
41
#endif /* _STLP_CLASS_PARTIAL_SPECIALIZATION */