Home
last modified time | relevance | path

Searched refs:nullptr_t (Results 1 – 25 of 47) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/libcxx/include/
H A D__nullptr23 struct _LIBCPP_TEMPLATE_VIS nullptr_t
29 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t() : __lx(0) {}
30 _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t(int __nat::*) : __lx(0) {}
42 …friend _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bool operator==(nullptr_t, nullptr_t) {return t…
43 …friend _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR bool operator!=(nullptr_t, nullptr_t) {return f…
46 inline _LIBCPP_INLINE_VISIBILITY _LIBCPP_CONSTEXPR nullptr_t __get_nullptr_t() {return nullptr_t(0)…
56 typedef decltype(nullptr) nullptr_t;
H A Dmemory283 unique_ptr(nullptr_t) noexcept : unique_ptr() { }
295 unique_ptr& operator=(nullptr_t) noexcept;
325 unique_ptr(nullptr_t) noexcept : unique_ptr() { }
332 unique_ptr& operator=(nullptr_t) noexcept;
344 void reset(nullptr_t) noexcept;
375 bool operator<(const unique_ptr<T, D>& x, nullptr_t);
377 bool operator<(nullptr_t, const unique_ptr<T, D>& y);
383 bool operator>(const unique_ptr<T, D>& x, nullptr_t);
385 bool operator>(nullptr_t, const unique_ptr<T, D>& y);
416 template <class D> shared_ptr(nullptr_t p, D d);
[all …]
H A Dspan182 typename enable_if<!__is_span<_Tp>::value, nullptr_t>::type,
184 typename enable_if<!__is_std_array<_Tp>::value, nullptr_t>::type,
186 typename enable_if<!is_array_v<_Tp>, nullptr_t>::type,
194 nullptr_t>::type
221 template <size_t _Sz = _Extent, enable_if_t<_Sz == 0, nullptr_t> = nullptr>
247 … enable_if_t<__is_span_compatible_container<_Container, _Tp>::value, nullptr_t> = nullptr)
255 … enable_if_t<__is_span_compatible_container<const _Container, _Tp>::value, nullptr_t> = nullptr)
265 nullptr_t> = nullptr)
273 nullptr_t> = nullptr) noexcept
425 … enable_if_t<__is_span_compatible_container<_Container, _Tp>::value, nullptr_t> = nullptr)
[all …]
H A Dstddef.h51 using std::nullptr_t;
H A Dfunctional389 function(nullptr_t) noexcept;
397 function(allocator_arg_t, const Alloc&, nullptr_t) noexcept; // removed in C++17
407 function& operator=(nullptr_t) noexcept;
441 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
444 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
447 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
450 bool operator!=(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
480 template <> struct hash<nullptr_t>; // C++17
H A Dexception148 _LIBCPP_INLINE_VISIBILITY exception_ptr(nullptr_t) _NOEXCEPT : __ptr_() {}
203 exception_ptr(nullptr_t) _NOEXCEPT;
206 exception_ptr& operator=(nullptr_t) _NOEXCEPT;
H A Dcstddef29 nullptr_t
43 // Don't include our own <stddef.h>; we don't want to declare ::nullptr_t.
/freebsd-13.1/contrib/llvm-project/libcxx/include/__memory/
H A Dunique_ptr.h275 unique_ptr& operator=(nullptr_t) _NOEXCEPT {
498 unique_ptr& operator=(nullptr_t) _NOEXCEPT {
547 void reset(nullptr_t = nullptr) _NOEXCEPT {
640 operator<(const unique_ptr<_T1, _D1>& __x, nullptr_t)
649 operator<(nullptr_t, const unique_ptr<_T1, _D1>& __x)
658 operator>(const unique_ptr<_T1, _D1>& __x, nullptr_t)
666 operator>(nullptr_t, const unique_ptr<_T1, _D1>& __x)
674 operator<=(const unique_ptr<_T1, _D1>& __x, nullptr_t)
682 operator<=(nullptr_t, const unique_ptr<_T1, _D1>& __x)
690 operator>=(const unique_ptr<_T1, _D1>& __x, nullptr_t)
[all …]
H A Dshared_ptr.h441 _LIBCPP_CONSTEXPR shared_ptr(nullptr_t) _NOEXCEPT;
469 template <class _Dp> shared_ptr(nullptr_t __p, _Dp __d);
708 shared_ptr<_Tp>::shared_ptr(nullptr_t) _NOEXCEPT
744 shared_ptr<_Tp>::shared_ptr(nullptr_t __p, _Dp __d)
1175 operator==(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
1183 operator==(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
1191 operator!=(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
1207 operator<(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
1215 operator<(nullptr_t, const shared_ptr<_Tp>& __x) _NOEXCEPT
1223 operator>(const shared_ptr<_Tp>& __x, nullptr_t) _NOEXCEPT
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DIntrusiveRefCntPtr.h258 bool operator==(std::nullptr_t, const IntrusiveRefCntPtr<T> &B) {
263 bool operator==(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
268 bool operator!=(std::nullptr_t A, const IntrusiveRefCntPtr<T> &B) {
273 bool operator!=(const IntrusiveRefCntPtr<T> &A, std::nullptr_t B) {
H A DPointerUnion.h167 PointerUnion(std::nullptr_t) : PointerUnion() {}
219 const PointerUnion &operator=(std::nullptr_t) {
H A DFunctionExtras.h363 unique_function(std::nullptr_t) {}
389 unique_function(std::nullptr_t) {}
/freebsd-13.1/contrib/llvm-project/clang/lib/Headers/
H A Dstddef.h93 namespace std { typedef decltype(nullptr) nullptr_t; } typedef
94 using ::std::nullptr_t;
/freebsd-13.1/contrib/llvm-project/libcxx/include/experimental/
H A Dcoroutine98 _LIBCPP_CONSTEXPR coroutine_handle(nullptr_t) _NOEXCEPT : __handle_(nullptr) {}
101 coroutine_handle& operator=(nullptr_t) _NOEXCEPT {
148 static coroutine_handle from_address(nullptr_t) _NOEXCEPT {
204 _LIBCPP_INLINE_VISIBILITY coroutine_handle(nullptr_t) _NOEXCEPT : _Base(nullptr) {}
207 coroutine_handle& operator=(nullptr_t) _NOEXCEPT {
231 static coroutine_handle from_address(nullptr_t) _NOEXCEPT {
H A Dpropagate_const25 template <class T> constexpr bool operator==(const propagate_const<T>& pt, nullptr_t);
26 template <class T> constexpr bool operator==(nullptr_t, const propagate_const<T>& pu);
27 template <class T> constexpr bool operator!=(const propagate_const<T>& pt, nullptr_t);
28 template <class T> constexpr bool operator!=(nullptr_t, const propagate_const<T>& pu);
302 _LIBCPP_CONSTEXPR bool operator==(const propagate_const<_Tp>& __pt, nullptr_t)
309 _LIBCPP_CONSTEXPR bool operator==(nullptr_t, const propagate_const<_Tp>& __pt)
316 _LIBCPP_CONSTEXPR bool operator!=(const propagate_const<_Tp>& __pt, nullptr_t)
323 _LIBCPP_CONSTEXPR bool operator!=(nullptr_t, const propagate_const<_Tp>& __pt)
H A Dfunctional36 bool operator==(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
38 bool operator==(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
40 bool operator!=(const function<R(ArgTypes...)>&, nullptr_t) noexcept;
42 bool operator!=(nullptr_t, const function<R(ArgTypes...)>&) noexcept;
/freebsd-13.1/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DStringPrinter.h39 void SetPrefixToken(std::nullptr_t) { m_prefix_token.clear(); } in SetPrefixToken() argument
45 void SetSuffixToken(std::nullptr_t) { m_suffix_token.clear(); } in SetSuffixToken() argument
/freebsd-13.1/contrib/llvm-project/libcxx/include/__functional/
H A Dfunction.h482 __value_func& operator=(nullptr_t)
821 __policy_func& operator=(nullptr_t)
985 function(nullptr_t) _NOEXCEPT {}
1008 function& operator=(nullptr_t) _NOEXCEPT;
1691 function& operator=(nullptr_t);
1825 function<_Rp()>::operator=(nullptr_t)
1971 function& operator=(nullptr_t);
2105 function<_Rp(_A0)>::operator=(nullptr_t)
2251 function& operator=(nullptr_t);
2385 function<_Rp(_A0, _A1)>::operator=(nullptr_t)
[all …]
H A Dhash.h823 struct _LIBCPP_TEMPLATE_VIS hash<nullptr_t>
825 : public unary_function<nullptr_t, size_t>
831 _LIBCPP_DEPRECATED_IN_CXX17 typedef nullptr_t argument_type;
834 size_t operator()(nullptr_t) const _NOEXCEPT {
/freebsd-13.1/contrib/llvm-project/libcxx/src/support/runtime/
H A Dexception_pointer_msvc.ipp28 exception_ptr::exception_ptr(nullptr_t) noexcept { __ExceptionPtrCreate(this); }
38 exception_ptr& exception_ptr::operator=(nullptr_t) noexcept {
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h234 JITEvaluatedSymbol(std::nullptr_t) {} in JITEvaluatedSymbol() argument
271 JITSymbol(std::nullptr_t) in JITSymbol() argument
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Support/
H A DJSON.h139 llvm::Optional<std::nullptr_t> getNull(StringRef K) const;
336 Value(std::nullptr_t) : Type(T_Null) {} in Value() argument
398 llvm::Optional<std::nullptr_t> getAsNull() const { in getAsNull()
686 inline bool fromJSON(const Value &E, std::nullptr_t &Out, Path P) { in fromJSON()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DReachingDefAnalysis.h46 ReachingDef(std::nullptr_t) : Encoded(0) {}
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DSymbolStringPool.h57 SymbolStringPtr(std::nullptr_t) {}
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Sema/
H A DOwnership.h58 OpaquePtr(std::nullptr_t = nullptr) {}

12