epoc32/include/stdapis/stlport/stl/debug/_relops_cont.h
branchSymbian2
changeset 2 2fe1408b6811
parent 0 061f57f2323e
child 4 837f303aceeb
     1.1 --- a/epoc32/include/stdapis/stlport/stl/debug/_relops_cont.h	Tue Nov 24 13:55:44 2009 +0000
     1.2 +++ b/epoc32/include/stdapis/stlport/stl/debug/_relops_cont.h	Tue Mar 16 16:12:26 2010 +0000
     1.3 @@ -1,1 +1,41 @@
     1.4 -_relops_cont.h
     1.5 +// This is an implementation file which
     1.6 +// is intended to be included multiple times with different _STLP_ASSOCIATIVE_CONTAINER
     1.7 +// setting
     1.8 +
     1.9 +#ifdef _STLP_EXTRA_OPERATORS_FOR_DEBUG
    1.10 +
    1.11 +_STLP_TEMPLATE_HEADER
    1.12 +inline  bool _STLP_CALL
    1.13 +operator==(const _STLP_TEMPLATE_CONTAINER& __x, const _STLP_TEMPLATE_CONTAINER& __y)
    1.14 +{
    1.15 +  return (const _STLP_TEMPLATE_CONTAINER_BASE&)__x == (const _STLP_TEMPLATE_CONTAINER_BASE&)__y; 
    1.16 +}
    1.17 +
    1.18 +_STLP_TEMPLATE_HEADER
    1.19 +inline  bool _STLP_CALL
    1.20 +operator<(const _STLP_TEMPLATE_CONTAINER& __x, const _STLP_TEMPLATE_CONTAINER& __y)
    1.21 +{
    1.22 +  return (const _STLP_TEMPLATE_CONTAINER_BASE&)__x < (const _STLP_TEMPLATE_CONTAINER_BASE&)__y; 
    1.23 +}
    1.24 +
    1.25 +_STLP_RELOPS_OPERATORS( _STLP_TEMPLATE_HEADER , _STLP_TEMPLATE_CONTAINER )
    1.26 +
    1.27 +#endif /* _STLP_EXTRA_OPERATORS_FOR_DEBUG */
    1.28 +
    1.29 +#ifdef _STLP_FUNCTION_TMPL_PARTIAL_ORDER
    1.30 +
    1.31 +_STLP_TEMPLATE_HEADER
    1.32 +inline void _STLP_CALL swap(_STLP_TEMPLATE_CONTAINER& __x, _STLP_TEMPLATE_CONTAINER& __y)
    1.33 +{
    1.34 +  __x.swap(__y);
    1.35 +}
    1.36 +
    1.37 +#endif /* _STLP_FUNCTION_TMPL_PARTIAL_ORDER */
    1.38 +
    1.39 +#if 0 /* def _STLP_CLASS_PARTIAL_SPECIALIZATION */
    1.40 +
    1.41 +_STLP_TEMPLATE_HEADER
    1.42 +struct __type_traits<_STLP_STD::_STLP_TEMPLATE_CONTAINER > : __type_traits_aux<0, 1>
    1.43 +{};
    1.44 +
    1.45 +#endif /* _STLP_CLASS_PARTIAL_SPECIALIZATION */