epoc32/include/stdapis/stlport/stl/_relops_hash_cont.h
author William Roberts <williamr@symbian.org>
Wed, 31 Mar 2010 12:33:34 +0100
branchSymbian3
changeset 4 837f303aceeb
parent 0 061f57f2323e
permissions -rw-r--r--
Current Symbian^3 public API header files (from PDK 3.0.h)
This is the epoc32/include tree with the "platform" subtrees removed, and
all but a selected few mbg and rsg files removed.
     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