2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 export namespace std {
11 // [func.invoke], invoke
13 #if _LIBCPP_STD_VER >= 23
17 // [refwrap], reference_wrapper
18 using std::reference_wrapper;
23 // [arithmetic.operations], arithmetic operations
27 using std::multiplies;
30 // [comparisons], comparisons
33 using std::greater_equal;
35 using std::less_equal;
36 using std::not_equal_to;
38 // [comparisons.three.way], class compare_three_way
39 using std::compare_three_way;
41 // [logical.operations], logical operations
42 using std::logical_and;
43 using std::logical_not;
44 using std::logical_or;
46 // [bitwise.operations], bitwise operations
52 // [func.identity], identity
55 // [func.not.fn], function template not_fn
58 // [func.bind.partial], function templates bind_front and bind_back
59 using std::bind_front;
60 #if _LIBCPP_STD_VER >= 23
65 using std::is_bind_expression;
66 using std::is_bind_expression_v;
67 using std::is_placeholder;
68 using std::is_placeholder_v;
72 namespace placeholders {
73 // M is the implementation-defined number of placeholders
74 using std::placeholders::_1;
75 using std::placeholders::_10;
76 using std::placeholders::_2;
77 using std::placeholders::_3;
78 using std::placeholders::_4;
79 using std::placeholders::_5;
80 using std::placeholders::_6;
81 using std::placeholders::_7;
82 using std::placeholders::_8;
83 using std::placeholders::_9;
84 } // namespace placeholders
86 // [func.memfn], member function adaptors
89 // [func.wrap], polymorphic function wrappers
90 using std::bad_function_call;
96 using std::operator==;
98 // [func.wrap.move], move only wrapper
99 // using std::move_only_function;
101 // [func.search], searchers
102 using std::default_searcher;
104 using std::boyer_moore_searcher;
106 using std::boyer_moore_horspool_searcher;
108 // [unord.hash], class template hash
112 // [range.cmp], concept-constrained comparisons
113 using std::ranges::equal_to;
114 using std::ranges::greater;
115 using std::ranges::greater_equal;
116 using std::ranges::less;
117 using std::ranges::less_equal;
118 using std::ranges::not_equal_to;
119 } // namespace ranges