[libcxx-commits] [libcxx] d7095e8 - [libc++] Remove outdated synopsis parts in experimental/functional
Joe Loser via libcxx-commits
libcxx-commits at lists.llvm.org
Tue Feb 8 16:07:03 PST 2022
Author: Joe Loser
Date: 2022-02-08T19:06:35-05:00
New Revision: d7095e80353ccee0180df26a2625b4c1109d441f
URL: https://github.com/llvm/llvm-project/commit/d7095e80353ccee0180df26a2625b4c1109d441f
DIFF: https://github.com/llvm/llvm-project/commit/d7095e80353ccee0180df26a2625b4c1109d441f.diff
LOG: [libc++] Remove outdated synopsis parts in experimental/functional
Remove mentions of `experimental::function`, its operators, etc. They are no
longer in `experimental/functional`.
Differential Revision: https://reviews.llvm.org/D119204
Added:
Modified:
libcxx/include/experimental/functional
Removed:
################################################################################
diff --git a/libcxx/include/experimental/functional b/libcxx/include/experimental/functional
index 9fb5bf91f753d..de21ab698248d 100644
--- a/libcxx/include/experimental/functional
+++ b/libcxx/include/experimental/functional
@@ -18,29 +18,6 @@
namespace std {
namespace experimental {
inline namespace fundamentals_v1 {
-
- // See C++14 20.9.9, Function object binders
- template <class T> constexpr bool is_bind_expression_v
- = is_bind_expression<T>::value;
- template <class T> constexpr int is_placeholder_v
- = is_placeholder<T>::value;
-
- // 4.2, Class template function
- template<class> class function; // undefined
- template<class R, class... ArgTypes> class function<R(ArgTypes...)>;
-
- template<class R, class... ArgTypes>
- void swap(function<R(ArgTypes...)>&, function<R(ArgTypes...)>&);
-
- template<class R, class... ArgTypes>
- bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
- template<class R, class... ArgTypes>
- bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
- template<class R, class... ArgTypes>
- bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
- template<class R, class... ArgTypes>
- bool operator!=(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
-
// 4.3, Searchers
template<class ForwardIterator, class BinaryPredicate = equal_to<>>
class default_searcher;
@@ -79,9 +56,6 @@ inline namespace fundamentals_v1 {
} // namespace fundamentals_v1
} // namespace experimental
- template<class R, class... ArgTypes, class Alloc>
- struct uses_allocator<experimental::function<R(ArgTypes...)>, Alloc>;
-
} // namespace std
*/
More information about the libcxx-commits
mailing list