@@ -154,7 +154,7 @@ public: // TODO private:
154
154
155
155
public:
156
156
_LIBCPP_INLINE_VISIBILITY
157
- _BMSkipTable (std:: size_t __sz, _Value __default, _Hash __hf, _BinaryPredicate __pred)
157
+ _BMSkipTable (size_t __sz, _Value __default, _Hash __hf, _BinaryPredicate __pred)
158
158
: __default_value_(__default), __table(__sz, __hf, __pred) {}
159
159
160
160
_LIBCPP_INLINE_VISIBILITY
@@ -179,13 +179,13 @@ private:
179
179
typedef _Value value_type;
180
180
typedef _Key key_type;
181
181
182
- typedef typename std:: make_unsigned<key_type>::type unsigned_key_type;
183
- typedef std::array<value_type, _VSTD:: numeric_limits<unsigned_key_type>::max()> skip_map;
182
+ typedef typename make_unsigned<key_type>::type unsigned_key_type;
183
+ typedef std::array<value_type, numeric_limits<unsigned_key_type>::max()> skip_map;
184
184
skip_map __table;
185
185
186
186
public:
187
187
_LIBCPP_INLINE_VISIBILITY
188
- _BMSkipTable (std:: size_t /* __sz*/ , _Value __default, _Hash /* __hf*/ , _BinaryPredicate /* __pred*/ )
188
+ _BMSkipTable (size_t /* __sz*/ , _Value __default, _Hash /* __hf*/ , _BinaryPredicate /* __pred*/ )
189
189
{
190
190
std::fill_n (__table.begin (), __table.size (), __default);
191
191
}
@@ -299,11 +299,11 @@ public: // TODO private:
299
299
template <typename _Iterator, typename _Container>
300
300
void __compute_bm_prefix ( _Iterator __f, _Iterator __l, _BinaryPredicate __pred, _Container &__prefix )
301
301
{
302
- const std:: size_t __count = _VSTD::distance (__f, __l);
302
+ const size_t __count = _VSTD::distance (__f, __l);
303
303
304
304
__prefix[0 ] = 0 ;
305
- std:: size_t __k = 0 ;
306
- for ( std:: size_t __i = 1 ; __i < __count; ++__i )
305
+ size_t __k = 0 ;
306
+ for ( size_t __i = 1 ; __i < __count; ++__i )
307
307
{
308
308
while ( __k > 0 && !__pred ( __f[__k], __f[__i] ))
309
309
__k = __prefix [ __k - 1 ];
@@ -317,22 +317,22 @@ public: // TODO private:
317
317
void __build_suffix_table (_RandomAccessIterator1 __f, _RandomAccessIterator1 __l,
318
318
_BinaryPredicate __pred)
319
319
{
320
- const std:: size_t __count = _VSTD::distance (__f, __l);
320
+ const size_t __count = _VSTD::distance (__f, __l);
321
321
vector<difference_type> & __suffix = *__suffix_.get ();
322
322
if (__count > 0 )
323
323
{
324
324
_VSTD::vector<value_type> __scratch (__count);
325
325
326
326
__compute_bm_prefix (__f, __l, __pred, __scratch);
327
- for ( std:: size_t __i = 0 ; __i <= __count; __i++ )
327
+ for ( size_t __i = 0 ; __i <= __count; __i++ )
328
328
__suffix[__i] = __count - __scratch[__count-1 ];
329
329
330
330
typedef _VSTD::reverse_iterator<_RandomAccessIterator1> _RevIter;
331
331
__compute_bm_prefix (_RevIter (__l), _RevIter (__f), __pred, __scratch);
332
332
333
- for ( std:: size_t __i = 0 ; __i < __count; __i++ )
333
+ for ( size_t __i = 0 ; __i < __count; __i++ )
334
334
{
335
- const std:: size_t __j = __count - __scratch[__i];
335
+ const size_t __j = __count - __scratch[__i];
336
336
const difference_type __k = __i - __scratch[__i] + 1 ;
337
337
338
338
if (__suffix[__j] > __k)
0 commit comments