epoc32/include/stdapis/stlport/stl/debug/_relops_cont.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:27:01 +0100
branchSymbian2
changeset 3 e1b950c65cb4
parent 0 061f57f2323e
child 4 837f303aceeb
permissions -rw-r--r--
Attempt to represent the S^2->S^3 header reorganisation as a series of "hg rename" operations
     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 */