Home
last modified time | relevance | path

Searched refs:static_assert (Results 1 – 25 of 196) sorted by relevance

12345678

/netbsd/src/external/gpl3/gdb/dist/config/
Dax_cxx_compile_stdcxx.m4211 static_assert(sizeof(int) <= sizeof(T), "not big enough");
284 static_assert(is_same<int, decltype(0)>::value == true, "");
285 static_assert(is_same<int, decltype(c)>::value == false, "");
286 static_assert(is_same<int, decltype(v)>::value == false, "");
291 static_assert(is_same<int, decltype(ac)>::value == true, "");
292 static_assert(is_same<int, decltype(av)>::value == true, "");
293 static_assert(is_same<int, decltype(sumi)>::value == true, "");
294 static_assert(is_same<int, decltype(sumf)>::value == false, "");
295 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
307 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/gpl3/gcc/dist/config/
Dax_cxx_compile_stdcxx.m4211 static_assert(sizeof(int) <= sizeof(T), "not big enough");
284 static_assert(is_same<int, decltype(0)>::value == true, "");
285 static_assert(is_same<int, decltype(c)>::value == false, "");
286 static_assert(is_same<int, decltype(v)>::value == false, "");
291 static_assert(is_same<int, decltype(ac)>::value == true, "");
292 static_assert(is_same<int, decltype(av)>::value == true, "");
293 static_assert(is_same<int, decltype(sumi)>::value == true, "");
294 static_assert(is_same<int, decltype(sumf)>::value == false, "");
295 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
307 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/gpl3/binutils/dist/config/
Dax_cxx_compile_stdcxx.m4211 static_assert(sizeof(int) <= sizeof(T), "not big enough");
284 static_assert(is_same<int, decltype(0)>::value == true, "");
285 static_assert(is_same<int, decltype(c)>::value == false, "");
286 static_assert(is_same<int, decltype(v)>::value == false, "");
291 static_assert(is_same<int, decltype(ac)>::value == true, "");
292 static_assert(is_same<int, decltype(av)>::value == true, "");
293 static_assert(is_same<int, decltype(sumi)>::value == true, "");
294 static_assert(is_same<int, decltype(sumf)>::value == false, "");
295 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
307 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dax_cxx_compile_stdcxx.m4233 static_assert(sizeof(int) <= sizeof(T), "not big enough");
306 static_assert(is_same<int, decltype(0)>::value == true, "");
307 static_assert(is_same<int, decltype(c)>::value == false, "");
308 static_assert(is_same<int, decltype(v)>::value == false, "");
313 static_assert(is_same<int, decltype(ac)>::value == true, "");
314 static_assert(is_same<int, decltype(av)>::value == true, "");
315 static_assert(is_same<int, decltype(sumi)>::value == true, "");
316 static_assert(is_same<int, decltype(sumf)>::value == false, "");
317 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
329 static_assert(noexcept(f()) == false, "");
[all …]
Dsymfile-mem.c60 static_assert (sizeof (CORE_ADDR) >= sizeof (bfd_vma));
61 static_assert (sizeof (gdb_byte) == sizeof (bfd_byte));
62 static_assert (sizeof (ssize_t) <= sizeof (bfd_size_type));
/netbsd/src/external/mit/expat/dist/conftools/
Dax-cxx-compile-stdcxx.m4220 static_assert(sizeof(int) <= sizeof(T), "not big enough");
293 static_assert(is_same<int, decltype(0)>::value == true, "");
294 static_assert(is_same<int, decltype(c)>::value == false, "");
295 static_assert(is_same<int, decltype(v)>::value == false, "");
300 static_assert(is_same<int, decltype(ac)>::value == true, "");
301 static_assert(is_same<int, decltype(av)>::value == true, "");
302 static_assert(is_same<int, decltype(sumi)>::value == true, "");
303 static_assert(is_same<int, decltype(sumf)>::value == false, "");
304 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
316 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/lgpl3/gmp/dist/tests/cxx/
Dt-cxx11.cc36 static_assert(noexcept(z1 = std::move(z2)), "sorry"); in check_noexcept()
37 static_assert(noexcept(q1 = std::move(q2)), "sorry"); in check_noexcept()
38 static_assert(noexcept(f1 = std::move(f2)), "sorry"); in check_noexcept()
39 static_assert(noexcept(q1 = std::move(z1)), "sorry"); in check_noexcept()
42 static_assert(std::is_nothrow_default_constructible<mpz_class>::value, "sorry"); in check_noexcept()
43 static_assert(std::is_nothrow_move_constructible<mpz_class>::value, "sorry"); in check_noexcept()
44 static_assert(!std::is_nothrow_default_constructible<mpq_class>::value, "sorry"); in check_noexcept()
45 static_assert(!std::is_nothrow_move_constructible<mpq_class>::value, "sorry"); in check_noexcept()
46 static_assert(!std::is_nothrow_default_constructible<mpf_class>::value, "sorry"); in check_noexcept()
47 static_assert(!std::is_nothrow_move_constructible<mpf_class>::value, "sorry"); in check_noexcept()
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/std/
Dratio98 static_assert(__a1 == 0 || __b1 == 0,
100 static_assert(__a0 * __b1 + __b0 * __a1 < (__c >> 1),
102 static_assert(__b0 * __a0 <= __INTMAX_MAX__,
104 static_assert((__a0 * __b1 + __b0 * __a1) * __c
132 static_assert(!__big_less<__hi1, __lo1, __hi2, __lo2>::value,
169 static_assert(__d >= (uintmax_t(1) << (sizeof(intmax_t) * 8 - 1)),
171 static_assert(__n1 < __d, "Internal library error");
206 static_assert(_Sum::__hi == __n1 && _Sum::__lo == __n0,
214 static_assert(__d != 0, "Internal library error");
215 static_assert(sizeof (uintmax_t) == sizeof (unsigned long long),
[all …]
Dutility121 static_assert(__is_standard_integer<_Tp>::value);
122 static_assert(__is_standard_integer<_Up>::value);
141 static_assert(__is_standard_integer<_Tp>::value);
142 static_assert(__is_standard_integer<_Up>::value);
171 static_assert(__is_standard_integer<_Res>::value);
172 static_assert(__is_standard_integer<_Tp>::value);
Dcharconv123 static_assert(is_integral<_Tp>::value, "implementation bug");
124 static_assert(is_unsigned<_Tp>::value, "implementation bug");
164 static_assert(is_integral<_Tp>::value, "implementation bug");
165 static_assert(is_unsigned<_Tp>::value, "implementation bug");
211 static_assert(is_integral<_Tp>::value, "implementation bug");
212 static_assert(is_unsigned<_Tp>::value, "implementation bug");
235 static_assert(is_integral<_Tp>::value, "implementation bug");
236 static_assert(is_unsigned<_Tp>::value, "implementation bug");
289 static_assert(is_integral<_Tp>::value, "implementation bug");
290 static_assert(is_unsigned<_Tp>::value, "implementation bug");
[all …]
Datomic213 static_assert(__is_trivially_copyable(_Tp),
216 static_assert(sizeof(_Tp) > 0,
220 static_assert(is_copy_constructible_v<_Tp>);
221 static_assert(is_move_constructible_v<_Tp>);
222 static_assert(is_copy_assignable_v<_Tp>);
223 static_assert(is_move_assignable_v<_Tp>);
452 static_assert( is_object<_Tp>::value, "pointer to object type" );
461 static_assert( is_object<_Tp>::value, "pointer to object type" );
470 static_assert( is_object<_Tp>::value, "pointer to object type" );
479 static_assert( is_object<_Tp>::value, "pointer to object type" );
[all …]
Dtype_traits727 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
736 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
745 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
760 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
774 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
910 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
964 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
980 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
989 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
1012 static_assert(std::__is_complete_or_unbounded(__type_identity<_Tp>{}),
[all …]
Darray396 static_assert(_Int < _Nm, "array index is within bounds");
405 static_assert(_Int < _Nm, "array index is within bounds");
414 static_assert(_Int < _Nm, "array index is within bounds");
423 static_assert(_Int < _Nm, "array index is within bounds");
435 static_assert(!is_array_v<_Tp>);
436 static_assert(is_constructible_v<_Tp, _Tp&>);
464 static_assert(!is_array_v<_Tp>);
465 static_assert(is_move_constructible_v<_Tp>);
499 static_assert(_Ind < _Nm, "array index is in range");
Dexpected165 static_assert( __expected::__can_be_unexpected<_Er> );
249 static_assert( is_nothrow_move_constructible_v<_Tp> );
308 static_assert( ! is_reference_v<_Tp> );
309 static_assert( ! is_function_v<_Tp> );
310 static_assert( ! is_same_v<remove_cv_t<_Tp>, in_place_t> );
311 static_assert( ! is_same_v<remove_cv_t<_Tp>, unexpect_t> );
312 static_assert( ! __expected::__is_unexpected<remove_cv_t<_Tp>> );
313 static_assert( __expected::__can_be_unexpected<_Er> );
773 static_assert( is_copy_constructible_v<_Tp> );
774 static_assert( is_convertible_v<_Up, _Tp> );
[all …]
/netbsd/src/external/gpl3/gcc/dist/libstdc++-v3/include/bits/
Dcharconv.h49 static_assert(is_integral<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY()
50 static_assert(is_unsigned<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY()
74 static_assert(is_integral<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY()
75 static_assert(is_unsigned<_Tp>::value, "implementation bug"); in _GLIBCXX_VISIBILITY()
Duniform_int_dist.h79 static_assert(std::is_integral<_IntType>::value, in _GLIBCXX_VISIBILITY()
250 static_assert(!_Up_traits::__is_signed_val, "U must be unsigned"); in _GLIBCXX_VISIBILITY()
251 static_assert(!_Wp_traits::__is_signed_val, "W must be unsigned"); in _GLIBCXX_VISIBILITY()
252 static_assert(_Wp_traits::__digits == (2 * _Up_traits::__digits), in _GLIBCXX_VISIBILITY()
286 static_assert( __urngmin < __urngmax, in _GLIBCXX_VISIBILITY()
379 static_assert( __urng.min() < __urng.max(), in _GLIBCXX_VISIBILITY()
Drandom.h85 static_assert(__which < 0, /* needs to be dependent */ in _GLIBCXX_VISIBILITY()
169 static_assert(std::is_floating_point<_DInputType>::value, in _GLIBCXX_VISIBILITY()
260 static_assert(std::is_unsigned<_UIntType>::value, in _GLIBCXX_VISIBILITY()
262 static_assert(__m == 0u || (__a < __m && __c < __m), in _GLIBCXX_VISIBILITY()
477 static_assert(std::is_unsigned<_UIntType>::value, in _GLIBCXX_VISIBILITY()
479 static_assert(1u <= __m && __m <= __n, in _GLIBCXX_VISIBILITY()
481 static_assert(__r <= __w, "template argument substituting " in _GLIBCXX_VISIBILITY()
483 static_assert(__u <= __w, "template argument substituting " in _GLIBCXX_VISIBILITY()
485 static_assert(__s <= __w, "template argument substituting " in _GLIBCXX_VISIBILITY()
487 static_assert(__t <= __w, "template argument substituting " in _GLIBCXX_VISIBILITY()
[all …]
/netbsd/src/external/gpl3/gcc/dist/
Dconfigure5882 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5955 static_assert(is_same<int, decltype(0)>::value == true, "");
5956 static_assert(is_same<int, decltype(c)>::value == false, "");
5957 static_assert(is_same<int, decltype(v)>::value == false, "");
5962 static_assert(is_same<int, decltype(ac)>::value == true, "");
5963 static_assert(is_same<int, decltype(av)>::value == true, "");
5964 static_assert(is_same<int, decltype(sumi)>::value == true, "");
5965 static_assert(is_same<int, decltype(sumf)>::value == false, "");
5966 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
5978 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/gpl3/binutils/dist/
Dconfigure5924 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5997 static_assert(is_same<int, decltype(0)>::value == true, "");
5998 static_assert(is_same<int, decltype(c)>::value == false, "");
5999 static_assert(is_same<int, decltype(v)>::value == false, "");
6004 static_assert(is_same<int, decltype(ac)>::value == true, "");
6005 static_assert(is_same<int, decltype(av)>::value == true, "");
6006 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6007 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6008 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6020 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/gpl3/gdb/dist/
Dconfigure5924 static_assert(sizeof(int) <= sizeof(T), "not big enough");
5997 static_assert(is_same<int, decltype(0)>::value == true, "");
5998 static_assert(is_same<int, decltype(c)>::value == false, "");
5999 static_assert(is_same<int, decltype(v)>::value == false, "");
6004 static_assert(is_same<int, decltype(ac)>::value == true, "");
6005 static_assert(is_same<int, decltype(av)>::value == true, "");
6006 static_assert(is_same<int, decltype(sumi)>::value == true, "");
6007 static_assert(is_same<int, decltype(sumf)>::value == false, "");
6008 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
6020 static_assert(noexcept(f()) == false, "");
[all …]
/netbsd/src/external/gpl3/binutils/dist/opcodes/
Dmips-formats.h52 static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
86 static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
96 static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
/netbsd/src/external/gpl3/gdb/dist/opcodes/
Dmips-formats.h52 static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
86 static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
96 static_assert[(1 << (SIZE)) == ARRAY_SIZE (MAP)]; \
/netbsd/src/include/
Dassert.h99 #ifndef static_assert
100 #define static_assert _Static_assert macro
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dmux-utils.h201 static_assert (std::is_convertible<T1 *, T>::value in is_a()
215 static_assert (std::is_convertible<T1 *, T>::value in as_a()
235 static_assert (std::is_convertible<T1 *, T>::value in dyn_cast()
/netbsd/src/external/gpl3/binutils/dist/gold/
Dconfigure12639 static_assert(sizeof(int) <= sizeof(T), "not big enough");
12712 static_assert(is_same<int, decltype(0)>::value == true, "");
12713 static_assert(is_same<int, decltype(c)>::value == false, "");
12714 static_assert(is_same<int, decltype(v)>::value == false, "");
12719 static_assert(is_same<int, decltype(ac)>::value == true, "");
12720 static_assert(is_same<int, decltype(av)>::value == true, "");
12721 static_assert(is_same<int, decltype(sumi)>::value == true, "");
12722 static_assert(is_same<int, decltype(sumf)>::value == false, "");
12723 static_assert(is_same<int, decltype(add(c, v))>::value == true, "");
12735 static_assert(noexcept(f()) == false, "");
[all …]

12345678