Home
last modified time | relevance | path

Searched refs:is_const_v (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/libcxx/test/std/utilities/meta/meta.unary/meta.unary.prop/
H A Dis_const.pass.cpp24 static_assert(!std::is_const_v<T>, ""); in test_is_const()
25 static_assert( std::is_const_v<const T>, ""); in test_is_const()
26 static_assert(!std::is_const_v<volatile T>, ""); in test_is_const()
27 static_assert( std::is_const_v<const volatile T>, ""); in test_is_const()
/llvm-project-15.0.7/flang/include/flang/Common/
H A Dunwrap.h42 using Constify = std::conditional_t<std::is_const_v<B> && !std::is_const_v<A>,
110 if constexpr (!std::is_const_v<std::remove_pointer_t<Ty>> || in Unwrap()
111 std::is_const_v<A>) { in Unwrap()
H A Dreference.h38 operator std::conditional_t<std::is_const_v<type>, type &, void>()
40 if constexpr (std::is_const_v<type>) {
/llvm-project-15.0.7/libcxx/include/__type_traits/
H A Dis_const.h28 inline constexpr bool is_const_v = __is_const(_Tp); variable
38 inline constexpr bool is_const_v = is_const<_Tp>::value;
/llvm-project-15.0.7/libcxx/test/std/utilities/tuple/tuple.tuple/tuple.cnstr/
H A Dconvert_types.h88 requires(std::is_constructible_v<T, const T&> && !std::is_const_v<T>)
94 requires(std::is_constructible_v<T, const T &&> && !std::is_const_v<T>)
118 requires(std::is_constructible_v<T, const T&> && !std::is_const_v<T>)
124 requires(std::is_constructible_v<T, const T &&> && !std::is_const_v<T>)
/llvm-project-15.0.7/libcxx/test/std/library/description/conventions/customization.point.object/
H A Dcpo.compile.pass.cpp25 static_assert(std::is_const_v<CPO>); in test()
H A Dniebloid.compile.pass.cpp35 static_assert(std::is_const_v<CPO>); in test()
/llvm-project-15.0.7/libcxx/include/__format/
H A Dformat_arg.h159 …static_assert(__const_formattable || !is_const_v<remove_reference_t<_Tp>>, "Mandated by [format.ar… in __handle()
/llvm-project-15.0.7/libcxx/include/
H A Dspan209 (ranges::borrowed_range<_Range> || is_const_v<_ElementType>) &&
613 template <class _Tp, size_t _Extent> requires(!is_const_v<_Tp>)
H A Dtype_traits292 template <class T> inline constexpr bool is_const_v
/llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/
H A DStdSymbolMap.inc510 SYMBOL(is_const_v, std::, <type_traits>)