/
usr
/
include
/
c++
/
8
/
bits
/
/usr/include/c++/8/bits
mkdir
upload
Name
Size
Mode
Actions
algorithmfwd.h
21736
0644
edit
dl
rm
allocated_ptr.h
3293
0644
edit
dl
rm
allocator.h
7569
0644
edit
dl
rm
alloc_traits.h
20066
0644
edit
dl
rm
atomic_base.h
23842
0644
edit
dl
rm
atomic_futex.h
9576
0644
edit
dl
rm
atomic_lockfree_defines.h
2253
0644
edit
dl
rm
basic_ios.h
16074
0644
edit
dl
rm
basic_ios.tcc
6083
0644
edit
dl
rm
basic_string.h
242697
0644
edit
dl
rm
basic_string.tcc
53755
0644
edit
dl
rm
boost_concept_check.h
27161
0644
edit
dl
rm
c++0x_warning.h
1474
0644
edit
dl
rm
char_traits.h
20915
0644
edit
dl
rm
codecvt.h
21289
0644
edit
dl
rm
concept_check.h
3423
0644
edit
dl
rm
cpp_type_traits.h
9789
0644
edit
dl
rm
cxxabi_forced.h
1811
0644
edit
dl
rm
cxxabi_init_exception.h
2220
0644
edit
dl
rm
deque.tcc
34122
0644
edit
dl
rm
enable_special_members.h
12387
0644
edit
dl
rm
exception.h
2280
0644
edit
dl
rm
exception_defines.h
1645
0644
edit
dl
rm
exception_ptr.h
5981
0644
edit
dl
rm
forward_list.h
48919
0644
edit
dl
rm
forward_list.tcc
13169
0644
edit
dl
rm
fstream.tcc
32799
0644
edit
dl
rm
fs_dir.h
14724
0644
edit
dl
rm
fs_fwd.h
10279
0644
edit
dl
rm
fs_ops.h
9730
0644
edit
dl
rm
fs_path.h
32894
0644
edit
dl
rm
functexcept.h
3254
0644
edit
dl
rm
functional_hash.h
8238
0644
edit
dl
rm
gslice.h
5518
0644
edit
dl
rm
gslice_array.h
7769
0644
edit
dl
rm
hashtable.h
73785
0644
edit
dl
rm
hashtable_policy.h
67971
0644
edit
dl
rm
hash_bytes.h
2146
0644
edit
dl
rm
indirect_array.h
7861
0644
edit
dl
rm
invoke.h
3657
0644
edit
dl
rm
ios_base.h
31023
0644
edit
dl
rm
istream.tcc
31093
0644
edit
dl
rm
list.tcc
15976
0644
edit
dl
rm
localefwd.h
5646
0644
edit
dl
rm
locale_classes.h
24897
0644
edit
dl
rm
locale_classes.tcc
8375
0644
edit
dl
rm
locale_conv.h
16097
0644
edit
dl
rm
locale_facets.h
92328
0644
edit
dl
rm
locale_facets.tcc
39548
0644
edit
dl
rm
locale_facets_nonio.h
68980
0644
edit
dl
rm
locale_facets_nonio.tcc
45280
0644
edit
dl
rm
mask_array.h
7595
0644
edit
dl
rm
memoryfwd.h
2453
0644
edit
dl
rm
move.h
6529
0644
edit
dl
rm
nested_exception.h
4802
0644
edit
dl
rm
node_handle.h
8216
0644
edit
dl
rm
ostream.tcc
12315
0644
edit
dl
rm
ostream_insert.h
4002
0644
edit
dl
rm
parse_numbers.h
7944
0644
edit
dl
rm
postypes.h
8208
0644
edit
dl
rm
predefined_ops.h
9083
0644
edit
dl
rm
ptr_traits.h
6626
0644
edit
dl
rm
quoted_string.h
5053
0644
edit
dl
rm
random.h
175250
0644
edit
dl
rm
random.tcc
105590
0644
edit
dl
rm
range_access.h
10030
0644
edit
dl
rm
refwrap.h
11884
0644
edit
dl
rm
regex.h
97402
0644
edit
dl
rm
regex.tcc
16565
0644
edit
dl
rm
regex_automaton.h
10722
0644
edit
dl
rm
regex_automaton.tcc
7838
0644
edit
dl
rm
regex_compiler.h
18050
0644
edit
dl
rm
regex_compiler.tcc
19288
0644
edit
dl
rm
regex_constants.h
14708
0644
edit
dl
rm
regex_error.h
4904
0644
edit
dl
rm
regex_executor.h
7488
0644
edit
dl
rm
regex_executor.tcc
18841
0644
edit
dl
rm
regex_scanner.h
7088
0644
edit
dl
rm
regex_scanner.tcc
15009
0644
edit
dl
rm
shared_ptr.h
23433
0644
edit
dl
rm
shared_ptr_atomic.h
9769
0644
edit
dl
rm
shared_ptr_base.h
54286
0644
edit
dl
rm
slice_array.h
9348
0644
edit
dl
rm
specfun.h
47051
0644
edit
dl
rm
sstream.tcc
10142
0644
edit
dl
rm
std_abs.h
3266
0644
edit
dl
rm
std_function.h
23260
0644
edit
dl
rm
std_mutex.h
9298
0644
edit
dl
rm
stl_algo.h
214294
0644
edit
dl
rm
stl_algobase.h
50494
0644
edit
dl
rm
stl_bvector.h
33728
0644
edit
dl
rm
stl_construct.h
7397
0644
edit
dl
rm
stl_deque.h
78575
0644
edit
dl
rm
stl_function.h
41745
0644
edit
dl
rm
stl_heap.h
20206
0644
edit
dl
rm
stl_iterator.h
42291
0644
edit
dl
rm
stl_iterator_base_funcs.h
8178
0644
edit
dl
rm
stl_iterator_base_types.h
8680
0644
edit
dl
rm
stl_list.h
67558
0644
edit
dl
rm
stl_map.h
52791
0644
edit
dl
rm
stl_multimap.h
41557
0644
edit
dl
rm
stl_multiset.h
35809
0644
edit
dl
rm
stl_numeric.h
13832
0644
edit
dl
rm
stl_pair.h
18642
0644
edit
dl
rm
stl_queue.h
24073
0644
edit
dl
rm
stl_raw_storage_iter.h
3830
0644
edit
dl
rm
stl_relops.h
4594
0644
edit
dl
rm
stl_set.h
36125
0644
edit
dl
rm
stl_stack.h
11938
0644
edit
dl
rm
stl_tempbuf.h
8344
0644
edit
dl
rm
stl_tree.h
74904
0644
edit
dl
rm
stl_uninitialized.h
27709
0644
edit
dl
rm
stl_vector.h
60534
0644
edit
dl
rm
streambuf.tcc
4929
0644
edit
dl
rm
streambuf_iterator.h
13758
0644
edit
dl
rm
stream_iterator.h
6654
0644
edit
dl
rm
stringfwd.h
2607
0644
edit
dl
rm
string_view.tcc
6698
0644
edit
dl
rm
uniform_int_dist.h
10081
0644
edit
dl
rm
unique_ptr.h
25984
0644
edit
dl
rm
unordered_map.h
75341
0644
edit
dl
rm
unordered_set.h
59148
0644
edit
dl
rm
uses_allocator.h
6525
0644
edit
dl
rm
valarray_after.h
22655
0644
edit
dl
rm
valarray_array.h
21807
0644
edit
dl
rm
valarray_array.tcc
7254
0644
edit
dl
rm
valarray_before.h
18513
0644
edit
dl
rm
vector.tcc
29644
0644
edit
dl
rm
Edit:
/usr/include/c++/8/bits/predefined_ops.h
(9083B)
// Default predicates for internal use -*- C++ -*- // Copyright (C) 2013-2018 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the // Free Software Foundation; either version 3, or (at your option) // any later version. // This library is distributed in the hope that it will be useful, // but WITHOUT ANY WARRANTY; without even the implied warranty of // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the // GNU General Public License for more details. // Under Section 7 of GPL version 3, you are granted additional // permissions described in the GCC Runtime Library Exception, version // 3.1, as published by the Free Software Foundation. // You should have received a copy of the GNU General Public License and // a copy of the GCC Runtime Library Exception along with this program; // see the files COPYING3 and COPYING.RUNTIME respectively. If not, see // <http://www.gnu.org/licenses/>. /** @file predefined_ops.h * This is an internal header file, included by other library headers. * You should not attempt to use it directly. @headername{algorithm} */ #ifndef _GLIBCXX_PREDEFINED_OPS_H #define _GLIBCXX_PREDEFINED_OPS_H 1 namespace __gnu_cxx { namespace __ops { struct _Iter_less_iter { template<typename _Iterator1, typename _Iterator2> _GLIBCXX14_CONSTEXPR bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 < *__it2; } }; _GLIBCXX14_CONSTEXPR inline _Iter_less_iter __iter_less_iter() { return _Iter_less_iter(); } struct _Iter_less_val { #if __cplusplus >= 201103L constexpr _Iter_less_val() = default; #else _Iter_less_val() { } #endif explicit _Iter_less_val(_Iter_less_iter) { } template<typename _Iterator, typename _Value> bool operator()(_Iterator __it, _Value& __val) const { return *__it < __val; } }; inline _Iter_less_val __iter_less_val() { return _Iter_less_val(); } inline _Iter_less_val __iter_comp_val(_Iter_less_iter) { return _Iter_less_val(); } struct _Val_less_iter { #if __cplusplus >= 201103L constexpr _Val_less_iter() = default; #else _Val_less_iter() { } #endif explicit _Val_less_iter(_Iter_less_iter) { } template<typename _Value, typename _Iterator> bool operator()(_Value& __val, _Iterator __it) const { return __val < *__it; } }; inline _Val_less_iter __val_less_iter() { return _Val_less_iter(); } inline _Val_less_iter __val_comp_iter(_Iter_less_iter) { return _Val_less_iter(); } struct _Iter_equal_to_iter { template<typename _Iterator1, typename _Iterator2> bool operator()(_Iterator1 __it1, _Iterator2 __it2) const { return *__it1 == *__it2; } }; inline _Iter_equal_to_iter __iter_equal_to_iter() { return _Iter_equal_to_iter(); } struct _Iter_equal_to_val { template<typename _Iterator, typename _Value> bool operator()(_Iterator __it, _Value& __val) const { return *__it == __val; } }; inline _Iter_equal_to_val __iter_equal_to_val() { return _Iter_equal_to_val(); } inline _Iter_equal_to_val __iter_comp_val(_Iter_equal_to_iter) { return _Iter_equal_to_val(); } template<typename _Compare> struct _Iter_comp_iter { _Compare _M_comp; explicit _GLIBCXX14_CONSTEXPR _Iter_comp_iter(_Compare __comp) : _M_comp(_GLIBCXX_MOVE(__comp)) { } template<typename _Iterator1, typename _Iterator2> _GLIBCXX14_CONSTEXPR bool operator()(_Iterator1 __it1, _Iterator2 __it2) { return bool(_M_comp(*__it1, *__it2)); } }; template<typename _Compare> _GLIBCXX14_CONSTEXPR inline _Iter_comp_iter<_Compare> __iter_comp_iter(_Compare __comp) { return _Iter_comp_iter<_Compare>(_GLIBCXX_MOVE(__comp)); } template<typename _Compare> struct _Iter_comp_val { _Compare _M_comp; explicit _Iter_comp_val(_Compare __comp) : _M_comp(_GLIBCXX_MOVE(__comp)) { } explicit _Iter_comp_val(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } #if __cplusplus >= 201103L explicit _Iter_comp_val(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } #endif template<typename _Iterator, typename _Value> bool operator()(_Iterator __it, _Value& __val) { return bool(_M_comp(*__it, __val)); } }; template<typename _Compare> inline _Iter_comp_val<_Compare> __iter_comp_val(_Compare __comp) { return _Iter_comp_val<_Compare>(_GLIBCXX_MOVE(__comp)); } template<typename _Compare> inline _Iter_comp_val<_Compare> __iter_comp_val(_Iter_comp_iter<_Compare> __comp) { return _Iter_comp_val<_Compare>(_GLIBCXX_MOVE(__comp)); } template<typename _Compare> struct _Val_comp_iter { _Compare _M_comp; explicit _Val_comp_iter(_Compare __comp) : _M_comp(_GLIBCXX_MOVE(__comp)) { } explicit _Val_comp_iter(const _Iter_comp_iter<_Compare>& __comp) : _M_comp(__comp._M_comp) { } #if __cplusplus >= 201103L explicit _Val_comp_iter(_Iter_comp_iter<_Compare>&& __comp) : _M_comp(std::move(__comp._M_comp)) { } #endif template<typename _Value, typename _Iterator> bool operator()(_Value& __val, _Iterator __it) { return bool(_M_comp(__val, *__it)); } }; template<typename _Compare> inline _Val_comp_iter<_Compare> __val_comp_iter(_Compare __comp) { return _Val_comp_iter<_Compare>(_GLIBCXX_MOVE(__comp)); } template<typename _Compare> inline _Val_comp_iter<_Compare> __val_comp_iter(_Iter_comp_iter<_Compare> __comp) { return _Val_comp_iter<_Compare>(_GLIBCXX_MOVE(__comp)); } template<typename _Value> struct _Iter_equals_val { _Value& _M_value; explicit _Iter_equals_val(_Value& __value) : _M_value(__value) { } template<typename _Iterator> bool operator()(_Iterator __it) { return *__it == _M_value; } }; template<typename _Value> inline _Iter_equals_val<_Value> __iter_equals_val(_Value& __val) { return _Iter_equals_val<_Value>(__val); } template<typename _Iterator1> struct _Iter_equals_iter { _Iterator1 _M_it1; explicit _Iter_equals_iter(_Iterator1 __it1) : _M_it1(__it1) { } template<typename _Iterator2> bool operator()(_Iterator2 __it2) { return *__it2 == *_M_it1; } }; template<typename _Iterator> inline _Iter_equals_iter<_Iterator> __iter_comp_iter(_Iter_equal_to_iter, _Iterator __it) { return _Iter_equals_iter<_Iterator>(__it); } template<typename _Predicate> struct _Iter_pred { _Predicate _M_pred; explicit _Iter_pred(_Predicate __pred) : _M_pred(_GLIBCXX_MOVE(__pred)) { } template<typename _Iterator> bool operator()(_Iterator __it) { return bool(_M_pred(*__it)); } }; template<typename _Predicate> inline _Iter_pred<_Predicate> __pred_iter(_Predicate __pred) { return _Iter_pred<_Predicate>(_GLIBCXX_MOVE(__pred)); } template<typename _Compare, typename _Value> struct _Iter_comp_to_val { _Compare _M_comp; _Value& _M_value; _Iter_comp_to_val(_Compare __comp, _Value& __value) : _M_comp(_GLIBCXX_MOVE(__comp)), _M_value(__value) { } template<typename _Iterator> bool operator()(_Iterator __it) { return bool(_M_comp(*__it, _M_value)); } }; template<typename _Compare, typename _Value> _Iter_comp_to_val<_Compare, _Value> __iter_comp_val(_Compare __comp, _Value &__val) { return _Iter_comp_to_val<_Compare, _Value>(_GLIBCXX_MOVE(__comp), __val); } template<typename _Compare, typename _Iterator1> struct _Iter_comp_to_iter { _Compare _M_comp; _Iterator1 _M_it1; _Iter_comp_to_iter(_Compare __comp, _Iterator1 __it1) : _M_comp(_GLIBCXX_MOVE(__comp)), _M_it1(__it1) { } template<typename _Iterator2> bool operator()(_Iterator2 __it2) { return bool(_M_comp(*__it2, *_M_it1)); } }; template<typename _Compare, typename _Iterator> inline _Iter_comp_to_iter<_Compare, _Iterator> __iter_comp_iter(_Iter_comp_iter<_Compare> __comp, _Iterator __it) { return _Iter_comp_to_iter<_Compare, _Iterator>( _GLIBCXX_MOVE(__comp._M_comp), __it); } template<typename _Predicate> struct _Iter_negate { _Predicate _M_pred; explicit _Iter_negate(_Predicate __pred) : _M_pred(_GLIBCXX_MOVE(__pred)) { } template<typename _Iterator> bool operator()(_Iterator __it) { return !bool(_M_pred(*__it)); } }; template<typename _Predicate> inline _Iter_negate<_Predicate> __negate(_Iter_pred<_Predicate> __pred) { return _Iter_negate<_Predicate>(_GLIBCXX_MOVE(__pred._M_pred)); } } // namespace __ops } // namespace __gnu_cxx #endif
Save
cmd:
run