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 D | is_const.pass.cpp | 24 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 D | unwrap.h | 42 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 D | reference.h | 38 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 D | is_const.h | 28 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 D | convert_types.h | 88 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 D | cpo.compile.pass.cpp | 25 static_assert(std::is_const_v<CPO>); in test()
|
| H A D | niebloid.compile.pass.cpp | 35 static_assert(std::is_const_v<CPO>); in test()
|
| /llvm-project-15.0.7/libcxx/include/__format/ |
| H A D | format_arg.h | 159 …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 D | span | 209 (ranges::borrowed_range<_Range> || is_const_v<_ElementType>) && 613 template <class _Tp, size_t _Extent> requires(!is_const_v<_Tp>)
|
| H A D | type_traits | 292 template <class T> inline constexpr bool is_const_v
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/Inclusions/ |
| H A D | StdSymbolMap.inc | 510 SYMBOL(is_const_v, std::, <type_traits>)
|