epoc32/include/stdapis/stlportv5/stl/_bitset.c
branchSymbian3
changeset 4 837f303aceeb
parent 3 e1b950c65cb4
     1.1 --- a/epoc32/include/stdapis/stlportv5/stl/_bitset.c	Wed Mar 31 12:27:01 2010 +0100
     1.2 +++ b/epoc32/include/stdapis/stlportv5/stl/_bitset.c	Wed Mar 31 12:33:34 2010 +0100
     1.3 @@ -2,13 +2,13 @@
     1.4   * Copyright (c) 1998
     1.5   * Silicon Graphics Computer Systems, Inc.
     1.6   *
     1.7 - * Copyright (c) 1999 
     1.8 + * Copyright (c) 1999
     1.9   * Boris Fomitchev
    1.10   *
    1.11   * This material is provided "as is", with absolutely no warranty expressed
    1.12   * or implied. Any use is at your own risk.
    1.13   *
    1.14 - * Permission to use or copy this software for any purpose is hereby granted 
    1.15 + * Permission to use or copy this software for any purpose is hereby granted
    1.16   * without fee, provided the above notices are retained on all copies.
    1.17   * Permission to modify the code and to distribute modified code is granted,
    1.18   * provided the above notices are retained, and a notice that the code was
    1.19 @@ -17,25 +17,22 @@
    1.20   */
    1.21  
    1.22  #ifndef _STLP_BITSET_C
    1.23 -# define  _STLP_BITSET_C
    1.24 +#define _STLP_BITSET_C
    1.25  
    1.26 -# ifndef _STLP_BITSET_H
    1.27 +#ifndef _STLP_BITSET_H
    1.28  #  include <stl/_bitset.h>
    1.29 -# endif
    1.30 +#endif
    1.31  
    1.32 -# define __BITS_PER_WORD (CHAR_BIT*sizeof(unsigned long))
    1.33 +#define __BITS_PER_WORD (CHAR_BIT * sizeof(unsigned long))
    1.34  
    1.35  _STLP_BEGIN_NAMESPACE
    1.36  
    1.37 +_STLP_MOVE_TO_PRIV_NAMESPACE
    1.38  //
    1.39  // Definitions of non-inline functions from _Base_bitset.
    1.40 -// 
    1.41 -
    1.42 -
    1.43 +//
    1.44  template<size_t _Nw>
    1.45 -void _STLP_IMPORT_METHOD _Base_bitset<_Nw>::_M_do_left_shift(size_t __shift) 
    1.46 -{
    1.47 -
    1.48 +void _Base_bitset<_Nw>::_M_do_left_shift(size_t __shift) {
    1.49    if (__shift != 0) {
    1.50      const size_t __wshift = __shift / __BITS_PER_WORD;
    1.51      const size_t __offset = __shift % __BITS_PER_WORD;
    1.52 @@ -47,7 +44,7 @@
    1.53      else {
    1.54        const size_t __sub_offset = __BITS_PER_WORD - __offset;
    1.55        for (size_t __n = _Nw - 1; __n > __wshift; --__n)
    1.56 -        _M_w[__n] = (_M_w[__n - __wshift] << __offset) | 
    1.57 +        _M_w[__n] = (_M_w[__n - __wshift] << __offset) |
    1.58                      (_M_w[__n - __wshift - 1] >> __sub_offset);
    1.59        _M_w[__wshift] = _M_w[0] << __offset;
    1.60      }
    1.61 @@ -57,9 +54,7 @@
    1.62  }
    1.63  
    1.64  template<size_t _Nw>
    1.65 -void _Base_bitset<_Nw>::_M_do_right_shift(size_t __shift) 
    1.66 -{
    1.67 -
    1.68 +void _Base_bitset<_Nw>::_M_do_right_shift(size_t __shift) {
    1.69    if (__shift != 0) {
    1.70      const size_t __wshift = __shift / __BITS_PER_WORD;
    1.71      const size_t __offset = __shift % __BITS_PER_WORD;
    1.72 @@ -82,17 +77,15 @@
    1.73  }
    1.74  
    1.75  template<size_t _Nw>
    1.76 -unsigned long _Base_bitset<_Nw>::_M_do_to_ulong() const
    1.77 -{
    1.78 -  for (size_t __i = 1; __i < _Nw; ++__i) 
    1.79 -    if (_M_w[__i]) 
    1.80 +unsigned long _Base_bitset<_Nw>::_M_do_to_ulong() const {
    1.81 +  for (size_t __i = 1; __i < _Nw; ++__i)
    1.82 +    if (_M_w[__i])
    1.83        __stl_throw_overflow_error("bitset");
    1.84    return _M_w[0];
    1.85  } // End _M_do_to_ulong
    1.86  
    1.87  template<size_t _Nw>
    1.88 -size_t _Base_bitset<_Nw>::_M_do_find_first(size_t __not_found) const 
    1.89 -{
    1.90 +size_t _Base_bitset<_Nw>::_M_do_find_first(size_t __not_found) const {
    1.91    for ( size_t __i = 0; __i < _Nw; __i++ ) {
    1.92      _WordT __thisword = _M_w[__i];
    1.93      if ( __thisword != __STATIC_CAST(_WordT,0) ) {
    1.94 @@ -102,7 +95,7 @@
    1.95            = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0)));
    1.96          if ( __this_byte )
    1.97            return __i*__BITS_PER_WORD + __j*CHAR_BIT +
    1.98 -            _Bs_G<bool>::_S_first_one[__this_byte];
    1.99 +            _Bs_G::_S_first_one(__this_byte);
   1.100  
   1.101          __thisword >>= CHAR_BIT;
   1.102        }
   1.103 @@ -114,9 +107,8 @@
   1.104  
   1.105  template<size_t _Nw>
   1.106  size_t
   1.107 -_Base_bitset<_Nw>::_M_do_find_next(size_t __prev, 
   1.108 -                                   size_t __not_found) const
   1.109 -{
   1.110 +_Base_bitset<_Nw>::_M_do_find_next(size_t __prev,
   1.111 +                                   size_t __not_found) const {
   1.112    // make bound inclusive
   1.113    ++__prev;
   1.114  
   1.115 @@ -135,29 +127,29 @@
   1.116      // find byte within word
   1.117      // get first byte into place
   1.118      __thisword >>= _S_whichbyte(__prev) * CHAR_BIT;
   1.119 -    for ( size_t __j = _S_whichbyte(__prev); __j < sizeof(_WordT); __j++ ) {
   1.120 +    for ( size_t __j = _S_whichbyte(__prev); __j < sizeof(_WordT); ++__j ) {
   1.121        unsigned char __this_byte
   1.122          = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0)));
   1.123        if ( __this_byte )
   1.124          return __i*__BITS_PER_WORD + __j*CHAR_BIT +
   1.125 -          _Bs_G<bool>::_S_first_one[__this_byte];
   1.126 +          _Bs_G::_S_first_one(__this_byte);
   1.127  
   1.128        __thisword >>= CHAR_BIT;
   1.129      }
   1.130    }
   1.131  
   1.132    // check subsequent words
   1.133 -  __i++;
   1.134 -  for ( ; __i < _Nw; __i++ ) {
   1.135 +  ++__i;
   1.136 +  for ( ; __i < _Nw; ++__i ) {
   1.137      /* _WordT */ __thisword = _M_w[__i];
   1.138      if ( __thisword != __STATIC_CAST(_WordT,0) ) {
   1.139        // find byte within word
   1.140 -      for ( size_t __j = 0; __j < sizeof(_WordT); __j++ ) {
   1.141 +      for ( size_t __j = 0; __j < sizeof(_WordT); ++__j ) {
   1.142          unsigned char __this_byte
   1.143            = __STATIC_CAST(unsigned char,(__thisword & (~(unsigned char)0)));
   1.144          if ( __this_byte )
   1.145            return __i*__BITS_PER_WORD + __j*CHAR_BIT +
   1.146 -            _Bs_G<bool>::_S_first_one[__this_byte];
   1.147 +            _Bs_G::_S_first_one(__this_byte);
   1.148  
   1.149          __thisword >>= CHAR_BIT;
   1.150        }
   1.151 @@ -168,16 +160,23 @@
   1.152    return __not_found;
   1.153  } // end _M_do_find_next
   1.154  
   1.155 +_STLP_MOVE_TO_STD_NAMESPACE
   1.156  
   1.157 +#if !defined (_STLP_NON_TYPE_TMPL_PARAM_BUG)
   1.158  
   1.159 -# if ! defined (_STLP_NON_TYPE_TMPL_PARAM_BUG)
   1.160 +#  if !defined (_STLP_USE_NO_IOSTREAMS)
   1.161  
   1.162 -#if defined ( _STLP_USE_NEW_IOSTREAMS)
   1.163 +_STLP_END_NAMESPACE
   1.164 +
   1.165 +#ifndef _STLP_STRING_IO_H
   1.166 +#  include <stl/_string_io.h> //includes _istream.h and _ostream.h
   1.167 +#endif
   1.168 +
   1.169 +_STLP_BEGIN_NAMESPACE
   1.170  
   1.171  template <class _CharT, class _Traits, size_t _Nb>
   1.172  basic_istream<_CharT, _Traits>& _STLP_CALL
   1.173 -operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x)
   1.174 -{
   1.175 +operator>>(basic_istream<_CharT, _Traits>& __is, bitset<_Nb>& __x) {
   1.176    basic_string<_CharT, _Traits> __tmp;
   1.177    __tmp.reserve(_Nb);
   1.178  
   1.179 @@ -194,8 +193,8 @@
   1.180          break;
   1.181        }
   1.182        else {
   1.183 -        char __c2 = _Traits::to_char_type(__c1);
   1.184 -        char __c  = __is.narrow(__c2, '*');
   1.185 +        typename _Traits::char_type __c2 = _Traits::to_char_type(__c1);
   1.186 +        char __c = __is.narrow(__c2, '*');
   1.187  
   1.188          if (__c == '0' || __c == '1')
   1.189            __tmp.push_back(__c);
   1.190 @@ -218,190 +217,19 @@
   1.191  template <class _CharT, class _Traits, size_t _Nb>
   1.192  basic_ostream<_CharT, _Traits>& _STLP_CALL
   1.193  operator<<(basic_ostream<_CharT, _Traits>& __os,
   1.194 -           const bitset<_Nb>& __x)
   1.195 -{
   1.196 +           const bitset<_Nb>& __x) {
   1.197    basic_string<_CharT, _Traits> __tmp;
   1.198    __x._M_copy_to_string(__tmp);
   1.199    return __os << __tmp;
   1.200  }
   1.201  
   1.202 -#elif ! defined ( _STLP_USE_NO_IOSTREAMS )
   1.203 +#  endif /* !_STLP_USE_NO_IOSTREAMS */
   1.204  
   1.205 -// (reg) For Watcom IO, this tells if ostream class is in .exe or in .dll
   1.206 -template <size_t _Nb>
   1.207 -_ISTREAM_DLL& _STLP_CALL
   1.208 -operator>>(_ISTREAM_DLL& __is, bitset<_Nb>& __x) {
   1.209 -  string __tmp;
   1.210 -  __tmp.reserve(_Nb);
   1.211 -
   1.212 -  // In new templatized iostreams, use istream::sentry
   1.213 -  if (__is.flags() & ios::skipws) {
   1.214 -    char __c;
   1.215 -    do 
   1.216 -      __is.get(__c);
   1.217 -    while (__is && isspace(__c));
   1.218 -    if (__is)
   1.219 -      __is.putback(__c);
   1.220 -  }
   1.221 -
   1.222 -  for (size_t __i = 0; __i < _Nb; ++__i) {
   1.223 -    char __c;
   1.224 -    __is.get(__c);
   1.225 -
   1.226 -    if (!__is)
   1.227 -      break;
   1.228 -    else if (__c != '0' && __c != '1') {
   1.229 -      __is.putback(__c);
   1.230 -      break;
   1.231 -    }
   1.232 -    else
   1.233 -      __tmp.push_back(__c);
   1.234 -  }
   1.235 -
   1.236 -  if (__tmp.empty()) 
   1.237 -    __is.clear(__is.rdstate() | ios::failbit);
   1.238 -  else
   1.239 -    __x._M_copy_from_string(__tmp, __STATIC_CAST(size_t,0), _Nb);
   1.240 -
   1.241 -  return __is;
   1.242 -}
   1.243 -
   1.244 -# endif /* _STLP_USE_NEW_IOSTREAMS */
   1.245 -
   1.246 -# endif /* _STLP_NON_TYPE_TMPL_PARAM_BUG */
   1.247 -
   1.248 -
   1.249 -# if defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION)
   1.250 -
   1.251 -// ------------------------------------------------------------
   1.252 -// Lookup tables for find and count operations.
   1.253 -
   1.254 -# if ( _STLP_STATIC_TEMPLATE_DATA > 0 )
   1.255 -template<class _Dummy>
   1.256 -const unsigned char _Bs_G<_Dummy>::_S_bit_count[256] = {
   1.257 -# else
   1.258 -const unsigned char _Bs_G<bool>::_S_bit_count[256] _STLP_WEAK = {
   1.259 -# endif
   1.260 -  0, /*   0 */ 1, /*   1 */ 1, /*   2 */ 2, /*   3 */ 1, /*   4 */
   1.261 -  2, /*   5 */ 2, /*   6 */ 3, /*   7 */ 1, /*   8 */ 2, /*   9 */
   1.262 -  2, /*  10 */ 3, /*  11 */ 2, /*  12 */ 3, /*  13 */ 3, /*  14 */
   1.263 -  4, /*  15 */ 1, /*  16 */ 2, /*  17 */ 2, /*  18 */ 3, /*  19 */
   1.264 -  2, /*  20 */ 3, /*  21 */ 3, /*  22 */ 4, /*  23 */ 2, /*  24 */
   1.265 -  3, /*  25 */ 3, /*  26 */ 4, /*  27 */ 3, /*  28 */ 4, /*  29 */
   1.266 -  4, /*  30 */ 5, /*  31 */ 1, /*  32 */ 2, /*  33 */ 2, /*  34 */
   1.267 -  3, /*  35 */ 2, /*  36 */ 3, /*  37 */ 3, /*  38 */ 4, /*  39 */
   1.268 -  2, /*  40 */ 3, /*  41 */ 3, /*  42 */ 4, /*  43 */ 3, /*  44 */
   1.269 -  4, /*  45 */ 4, /*  46 */ 5, /*  47 */ 2, /*  48 */ 3, /*  49 */
   1.270 -  3, /*  50 */ 4, /*  51 */ 3, /*  52 */ 4, /*  53 */ 4, /*  54 */
   1.271 -  5, /*  55 */ 3, /*  56 */ 4, /*  57 */ 4, /*  58 */ 5, /*  59 */
   1.272 -  4, /*  60 */ 5, /*  61 */ 5, /*  62 */ 6, /*  63 */ 1, /*  64 */
   1.273 -  2, /*  65 */ 2, /*  66 */ 3, /*  67 */ 2, /*  68 */ 3, /*  69 */
   1.274 -  3, /*  70 */ 4, /*  71 */ 2, /*  72 */ 3, /*  73 */ 3, /*  74 */
   1.275 -  4, /*  75 */ 3, /*  76 */ 4, /*  77 */ 4, /*  78 */ 5, /*  79 */
   1.276 -  2, /*  80 */ 3, /*  81 */ 3, /*  82 */ 4, /*  83 */ 3, /*  84 */
   1.277 -  4, /*  85 */ 4, /*  86 */ 5, /*  87 */ 3, /*  88 */ 4, /*  89 */
   1.278 -  4, /*  90 */ 5, /*  91 */ 4, /*  92 */ 5, /*  93 */ 5, /*  94 */
   1.279 -  6, /*  95 */ 2, /*  96 */ 3, /*  97 */ 3, /*  98 */ 4, /*  99 */
   1.280 -  3, /* 100 */ 4, /* 101 */ 4, /* 102 */ 5, /* 103 */ 3, /* 104 */
   1.281 -  4, /* 105 */ 4, /* 106 */ 5, /* 107 */ 4, /* 108 */ 5, /* 109 */
   1.282 -  5, /* 110 */ 6, /* 111 */ 3, /* 112 */ 4, /* 113 */ 4, /* 114 */
   1.283 -  5, /* 115 */ 4, /* 116 */ 5, /* 117 */ 5, /* 118 */ 6, /* 119 */
   1.284 -  4, /* 120 */ 5, /* 121 */ 5, /* 122 */ 6, /* 123 */ 5, /* 124 */
   1.285 -  6, /* 125 */ 6, /* 126 */ 7, /* 127 */ 1, /* 128 */ 2, /* 129 */
   1.286 -  2, /* 130 */ 3, /* 131 */ 2, /* 132 */ 3, /* 133 */ 3, /* 134 */
   1.287 -  4, /* 135 */ 2, /* 136 */ 3, /* 137 */ 3, /* 138 */ 4, /* 139 */
   1.288 -  3, /* 140 */ 4, /* 141 */ 4, /* 142 */ 5, /* 143 */ 2, /* 144 */
   1.289 -  3, /* 145 */ 3, /* 146 */ 4, /* 147 */ 3, /* 148 */ 4, /* 149 */
   1.290 -  4, /* 150 */ 5, /* 151 */ 3, /* 152 */ 4, /* 153 */ 4, /* 154 */
   1.291 -  5, /* 155 */ 4, /* 156 */ 5, /* 157 */ 5, /* 158 */ 6, /* 159 */
   1.292 -  2, /* 160 */ 3, /* 161 */ 3, /* 162 */ 4, /* 163 */ 3, /* 164 */
   1.293 -  4, /* 165 */ 4, /* 166 */ 5, /* 167 */ 3, /* 168 */ 4, /* 169 */
   1.294 -  4, /* 170 */ 5, /* 171 */ 4, /* 172 */ 5, /* 173 */ 5, /* 174 */
   1.295 -  6, /* 175 */ 3, /* 176 */ 4, /* 177 */ 4, /* 178 */ 5, /* 179 */
   1.296 -  4, /* 180 */ 5, /* 181 */ 5, /* 182 */ 6, /* 183 */ 4, /* 184 */
   1.297 -  5, /* 185 */ 5, /* 186 */ 6, /* 187 */ 5, /* 188 */ 6, /* 189 */
   1.298 -  6, /* 190 */ 7, /* 191 */ 2, /* 192 */ 3, /* 193 */ 3, /* 194 */
   1.299 -  4, /* 195 */ 3, /* 196 */ 4, /* 197 */ 4, /* 198 */ 5, /* 199 */
   1.300 -  3, /* 200 */ 4, /* 201 */ 4, /* 202 */ 5, /* 203 */ 4, /* 204 */
   1.301 -  5, /* 205 */ 5, /* 206 */ 6, /* 207 */ 3, /* 208 */ 4, /* 209 */
   1.302 -  4, /* 210 */ 5, /* 211 */ 4, /* 212 */ 5, /* 213 */ 5, /* 214 */
   1.303 -  6, /* 215 */ 4, /* 216 */ 5, /* 217 */ 5, /* 218 */ 6, /* 219 */
   1.304 -  5, /* 220 */ 6, /* 221 */ 6, /* 222 */ 7, /* 223 */ 3, /* 224 */
   1.305 -  4, /* 225 */ 4, /* 226 */ 5, /* 227 */ 4, /* 228 */ 5, /* 229 */
   1.306 -  5, /* 230 */ 6, /* 231 */ 4, /* 232 */ 5, /* 233 */ 5, /* 234 */
   1.307 -  6, /* 235 */ 5, /* 236 */ 6, /* 237 */ 6, /* 238 */ 7, /* 239 */
   1.308 -  4, /* 240 */ 5, /* 241 */ 5, /* 242 */ 6, /* 243 */ 5, /* 244 */
   1.309 -  6, /* 245 */ 6, /* 246 */ 7, /* 247 */ 5, /* 248 */ 6, /* 249 */
   1.310 -  6, /* 250 */ 7, /* 251 */ 6, /* 252 */ 7, /* 253 */ 7, /* 254 */
   1.311 -  8  /* 255 */
   1.312 -}; // end _Bitset_global
   1.313 -
   1.314 -# if ( _STLP_STATIC_TEMPLATE_DATA > 0 )
   1.315 -template<class _Dummy>
   1.316 -const unsigned char _Bs_G<_Dummy>::_S_first_one[256] = {
   1.317 -# else
   1.318 -const unsigned char _Bs_G<bool>::_S_first_one[256] _STLP_WEAK = {
   1.319 -# endif
   1.320 -
   1.321 -  0, /*   0 */ 0, /*   1 */ 1, /*   2 */ 0, /*   3 */ 2, /*   4 */
   1.322 -  0, /*   5 */ 1, /*   6 */ 0, /*   7 */ 3, /*   8 */ 0, /*   9 */
   1.323 -  1, /*  10 */ 0, /*  11 */ 2, /*  12 */ 0, /*  13 */ 1, /*  14 */
   1.324 -  0, /*  15 */ 4, /*  16 */ 0, /*  17 */ 1, /*  18 */ 0, /*  19 */
   1.325 -  2, /*  20 */ 0, /*  21 */ 1, /*  22 */ 0, /*  23 */ 3, /*  24 */
   1.326 -  0, /*  25 */ 1, /*  26 */ 0, /*  27 */ 2, /*  28 */ 0, /*  29 */
   1.327 -  1, /*  30 */ 0, /*  31 */ 5, /*  32 */ 0, /*  33 */ 1, /*  34 */
   1.328 -  0, /*  35 */ 2, /*  36 */ 0, /*  37 */ 1, /*  38 */ 0, /*  39 */
   1.329 -  3, /*  40 */ 0, /*  41 */ 1, /*  42 */ 0, /*  43 */ 2, /*  44 */
   1.330 -  0, /*  45 */ 1, /*  46 */ 0, /*  47 */ 4, /*  48 */ 0, /*  49 */
   1.331 -  1, /*  50 */ 0, /*  51 */ 2, /*  52 */ 0, /*  53 */ 1, /*  54 */
   1.332 -  0, /*  55 */ 3, /*  56 */ 0, /*  57 */ 1, /*  58 */ 0, /*  59 */
   1.333 -  2, /*  60 */ 0, /*  61 */ 1, /*  62 */ 0, /*  63 */ 6, /*  64 */
   1.334 -  0, /*  65 */ 1, /*  66 */ 0, /*  67 */ 2, /*  68 */ 0, /*  69 */
   1.335 -  1, /*  70 */ 0, /*  71 */ 3, /*  72 */ 0, /*  73 */ 1, /*  74 */
   1.336 -  0, /*  75 */ 2, /*  76 */ 0, /*  77 */ 1, /*  78 */ 0, /*  79 */
   1.337 -  4, /*  80 */ 0, /*  81 */ 1, /*  82 */ 0, /*  83 */ 2, /*  84 */
   1.338 -  0, /*  85 */ 1, /*  86 */ 0, /*  87 */ 3, /*  88 */ 0, /*  89 */
   1.339 -  1, /*  90 */ 0, /*  91 */ 2, /*  92 */ 0, /*  93 */ 1, /*  94 */
   1.340 -  0, /*  95 */ 5, /*  96 */ 0, /*  97 */ 1, /*  98 */ 0, /*  99 */
   1.341 -  2, /* 100 */ 0, /* 101 */ 1, /* 102 */ 0, /* 103 */ 3, /* 104 */
   1.342 -  0, /* 105 */ 1, /* 106 */ 0, /* 107 */ 2, /* 108 */ 0, /* 109 */
   1.343 -  1, /* 110 */ 0, /* 111 */ 4, /* 112 */ 0, /* 113 */ 1, /* 114 */
   1.344 -  0, /* 115 */ 2, /* 116 */ 0, /* 117 */ 1, /* 118 */ 0, /* 119 */
   1.345 -  3, /* 120 */ 0, /* 121 */ 1, /* 122 */ 0, /* 123 */ 2, /* 124 */
   1.346 -  0, /* 125 */ 1, /* 126 */ 0, /* 127 */ 7, /* 128 */ 0, /* 129 */
   1.347 -  1, /* 130 */ 0, /* 131 */ 2, /* 132 */ 0, /* 133 */ 1, /* 134 */
   1.348 -  0, /* 135 */ 3, /* 136 */ 0, /* 137 */ 1, /* 138 */ 0, /* 139 */
   1.349 -  2, /* 140 */ 0, /* 141 */ 1, /* 142 */ 0, /* 143 */ 4, /* 144 */
   1.350 -  0, /* 145 */ 1, /* 146 */ 0, /* 147 */ 2, /* 148 */ 0, /* 149 */
   1.351 -  1, /* 150 */ 0, /* 151 */ 3, /* 152 */ 0, /* 153 */ 1, /* 154 */
   1.352 -  0, /* 155 */ 2, /* 156 */ 0, /* 157 */ 1, /* 158 */ 0, /* 159 */
   1.353 -  5, /* 160 */ 0, /* 161 */ 1, /* 162 */ 0, /* 163 */ 2, /* 164 */
   1.354 -  0, /* 165 */ 1, /* 166 */ 0, /* 167 */ 3, /* 168 */ 0, /* 169 */
   1.355 -  1, /* 170 */ 0, /* 171 */ 2, /* 172 */ 0, /* 173 */ 1, /* 174 */
   1.356 -  0, /* 175 */ 4, /* 176 */ 0, /* 177 */ 1, /* 178 */ 0, /* 179 */
   1.357 -  2, /* 180 */ 0, /* 181 */ 1, /* 182 */ 0, /* 183 */ 3, /* 184 */
   1.358 -  0, /* 185 */ 1, /* 186 */ 0, /* 187 */ 2, /* 188 */ 0, /* 189 */
   1.359 -  1, /* 190 */ 0, /* 191 */ 6, /* 192 */ 0, /* 193 */ 1, /* 194 */
   1.360 -  0, /* 195 */ 2, /* 196 */ 0, /* 197 */ 1, /* 198 */ 0, /* 199 */
   1.361 -  3, /* 200 */ 0, /* 201 */ 1, /* 202 */ 0, /* 203 */ 2, /* 204 */
   1.362 -  0, /* 205 */ 1, /* 206 */ 0, /* 207 */ 4, /* 208 */ 0, /* 209 */
   1.363 -  1, /* 210 */ 0, /* 211 */ 2, /* 212 */ 0, /* 213 */ 1, /* 214 */
   1.364 -  0, /* 215 */ 3, /* 216 */ 0, /* 217 */ 1, /* 218 */ 0, /* 219 */
   1.365 -  2, /* 220 */ 0, /* 221 */ 1, /* 222 */ 0, /* 223 */ 5, /* 224 */
   1.366 -  0, /* 225 */ 1, /* 226 */ 0, /* 227 */ 2, /* 228 */ 0, /* 229 */
   1.367 -  1, /* 230 */ 0, /* 231 */ 3, /* 232 */ 0, /* 233 */ 1, /* 234 */
   1.368 -  0, /* 235 */ 2, /* 236 */ 0, /* 237 */ 1, /* 238 */ 0, /* 239 */
   1.369 -  4, /* 240 */ 0, /* 241 */ 1, /* 242 */ 0, /* 243 */ 2, /* 244 */
   1.370 -  0, /* 245 */ 1, /* 246 */ 0, /* 247 */ 3, /* 248 */ 0, /* 249 */
   1.371 -  1, /* 250 */ 0, /* 251 */ 2, /* 252 */ 0, /* 253 */ 1, /* 254 */
   1.372 -  0, /* 255 */
   1.373 -}; // end _Bitset_global
   1.374 -
   1.375 -# endif /* defined (_STLP_EXPOSE_GLOBALS_IMPLEMENTATION) */
   1.376 +#endif /* _STLP_NON_TYPE_TMPL_PARAM_BUG */
   1.377  
   1.378  _STLP_END_NAMESPACE
   1.379  
   1.380 -#  undef __BITS_PER_WORD
   1.381 -#  undef bitset
   1.382 +#undef __BITS_PER_WORD
   1.383 +#undef bitset
   1.384  
   1.385  #endif /*  _STLP_BITSET_C */