Home
last modified time | relevance | path

Searched refs:is_reference (Results 1 – 25 of 38) sorted by relevance

12

/freebsd/contrib/llvm-project/libc/src/__support/CPP/type_traits/
H A Dis_reference.h22 template <typename T> struct is_reference : bool_constant<__is_reference(T)> {}; struct
24 template <typename T> struct is_reference : public false_type {};
25 template <typename T> struct is_reference<T &> : public true_type {};
26 template <typename T> struct is_reference<T &&> : public true_type {};
29 LIBC_INLINE_VAR constexpr bool is_reference_v = is_reference<T>::value;
H A Dis_destructible.h53 : public __destructible_imp<T, is_reference<T>::value> {};
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__memory/
H A Dunique_ptr.h88 static_assert(!is_reference<_Deleter>::value, "incorrect specialization");
161 __enable_if_t< (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
162 (!is_reference<_Dp>::value && is_convertible<_UDel, _Dp>::value) >;
182 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
318 __enable_if_t< (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
319 (!is_reference<_Dp>::value && is_convertible<_UDel, _Dp>::value) >;
351 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
357 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
/freebsd/contrib/llvm-project/libcxx/include/__memory/
H A Dunique_ptr.h103 static_assert(!is_reference<_Deleter>::value, "incorrect specialization");
178 __enable_if_t< (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
179 (!is_reference<_Dp>::value && is_convertible<_UDel, _Dp>::value) >;
205 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
470 __enable_if_t< (is_reference<_Dp>::value && is_same<_Dp, _UDel>::value) ||
471 (!is_reference<_Dp>::value && is_convertible<_UDel, _Dp>::value) >;
518 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
526 static_assert(!is_reference<deleter_type>::value, "rvalue deleter bound to reference");
/freebsd/contrib/llvm-project/lldb/bindings/interface/
H A DSBTypeExtensions.i60 is_reference = property(IsReferenceType, None, doc='''A read only property that returns a boolean value that indicates if this type is a reference type.''')
61 is_reference = property(IsReferenceType, None, doc='''A read only property that returns a boolean value that indicates if this type is a function type.''')
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__algorithm/
H A Diterator_operations.h81 template <class _Iter, __enable_if_t<is_reference<__deref_t<_Iter> >::value, int> = 0>
92 template <class _Iter, __enable_if_t<!is_reference<__deref_t<_Iter> >::value, int> = 0>
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__type_traits/
H A Dis_reference.h22 struct _LIBCPP_TEMPLATE_VIS is_reference : _BoolConstant<__is_reference(_Tp)> {}; struct
H A Dis_destructible.h69 struct __destructible_false<_Tp, false> : public __destructible_imp<_Tp, is_reference<_Tp>::value> …
/freebsd/contrib/llvm-project/libcxx/include/__algorithm/
H A Diterator_operations.h112 template <class _Iter, __enable_if_t<is_reference<__deref_t<_Iter> >::value, int> = 0>
123 template <class _Iter, __enable_if_t<!is_reference<__deref_t<_Iter> >::value, int> = 0>
/freebsd/contrib/llvm-project/libcxx/include/__type_traits/
H A Dis_reference.h22 struct _LIBCPP_NO_SPECIALIZATIONS is_reference : _BoolConstant<__is_reference(_Tp)> {}; struct
H A Dis_destructible.h74 struct __destructible_false<_Tp, false> : __destructible_imp<_Tp, is_reference<_Tp>::value> {};
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__utility/
H A Dpair.h86 static const bool value = !is_reference<first_type>::value && !is_reference<second_type>::value;
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/__iterator/
H A Dmove_iterator.h48 …typedef __conditional_t<is_reference<__reference>::value, __libcpp_remove_reference_t<__reference>…
/freebsd/contrib/llvm-project/libcxx/include/
H A Dany100 # include <__type_traits/is_reference.h>
560 static_assert(!is_reference<_ValueType>::value, "_ValueType may not be a reference.");
578 static_assert(!is_reference<_ValueType>::value, "_ValueType may not be a reference.");
H A Dtuple253 # include <__type_traits/is_reference.h>
317 …static_assert(!is_reference<_Hp>::value, "Attempted to default construct a reference element in a …
322 …static_assert(!is_reference<_Hp>::value, "Attempted to default construct a reference element in a …
328 …static_assert(!is_reference<_Hp>::value, "Attempted to default construct a reference element in a …
333 …static_assert(!is_reference<_Hp>::value, "Attempted to default construct a reference element in a …
358 …static_assert(!is_reference<_Hp>::value, "Attempted to uses-allocator construct a reference elemen…
365 …static_assert(!is_reference<_Hp>::value, "Attempted to uses-allocator construct a reference elemen…
H A Dtype_traits48 template <class T> struct is_reference;
304 = is_reference<T>::value; // since C++17
504 # include <__type_traits/is_reference.h>
/freebsd/contrib/llvm-project/libcxx/include/__cxx03/
H A Dtype_traits50 template <class T> struct is_reference;
275 = is_reference<T>::value; // C++17
464 #include <__cxx03/__type_traits/is_reference.h>
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h940 negation<std::is_reference<U>>, //
951 negation<std::is_reference<U>>, //
1163 static_assert(std::is_reference<Result>::value,
1205 static_assert(std::is_reference<Result>::value,
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Derror.h189 static constexpr bool IsRef = std::is_reference<T>::value;
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFunctionExtras.h102 static_assert(!std::is_reference<T>::value,
/freebsd/contrib/llvm-project/libcxx/include/__iterator/
H A Dmove_iterator.h108 …typedef __conditional_t<is_reference<__reference>::value, __libcpp_remove_reference_t<__reference>…
/freebsd/contrib/llvm-project/libcxx/include/experimental/
H A Dpropagate_const126 # include <__type_traits/is_reference.h>
164 …static_assert(!is_reference<_Tp>::value, "Instantiation of propagate_const with a reference type i…
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dtype_traits.cppm
H A Dtype_traits.inc40 using std::is_reference;
/freebsd/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DClangExpressionDeclMap.cpp1570 bool is_reference = pt.IsReferenceType(); in AddExpressionVariable() local
1573 if (is_reference) in AddExpressionVariable()
1590 if (is_reference) in AddExpressionVariable()

12