File: cxx-traits.h

package info (click to toggle)
swiftlang 6.0.3-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,519,992 kB
  • sloc: cpp: 9,107,863; ansic: 2,040,022; asm: 1,135,751; python: 296,500; objc: 82,456; f90: 60,502; lisp: 34,951; pascal: 19,946; sh: 18,133; perl: 7,482; ml: 4,937; javascript: 4,117; makefile: 3,840; awk: 3,535; xml: 914; fortran: 619; cs: 573; ruby: 573
file content (71 lines) | stat: -rw-r--r-- 3,919 bytes parent folder | download | duplicates (30)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// Header for PCH test cxx-traits.cpp

namespace n {

template<typename _Tp>
struct __is_pod { // expected-warning {{keyword '__is_pod' will be made available as an identifier for the remainder of the translation unit}}
  enum { __value };
};

template<typename _Tp>
struct __is_empty { // expected-warning {{keyword '__is_empty' will be made available as an identifier for the remainder of the translation unit}}
  enum { __value };
};

template<typename T, typename ...Args>
struct is_trivially_constructible {
  static const bool value = __is_trivially_constructible(T, Args...);
};

struct __is_abstract {};  // expected-warning {{made available}}
struct __is_aggregate {}; // expected-warning {{made available}}
struct __is_arithmetic {};  // expected-warning {{made available}}
struct __is_array {};  // expected-warning {{made available}}
struct __is_assignable {};  // expected-warning {{made available}}
struct __is_base_of {};  // expected-warning {{made available}}
struct __is_class {};  // expected-warning {{made available}}
struct __is_complete_type {};  // expected-warning {{made available}}
struct __is_compound {};  // expected-warning {{made available}}
struct __is_const {};  // expected-warning {{made available}}
struct __is_constructible {};  // expected-warning {{made available}}
struct __is_convertible {};  // expected-warning {{made available}}
struct __is_convertible_to {};  // expected-warning {{made available}}
struct __is_destructible {};  // expected-warning {{made available}}
struct __is_enum {};  // expected-warning {{made available}}
struct __is_floating_point {};  // expected-warning {{made available}}
struct __is_final {};  // expected-warning {{made available}}
struct __is_function {};  // expected-warning {{made available}}
struct __is_fundamental {};  // expected-warning {{made available}}
struct __is_integral {};  // expected-warning {{made available}}
struct __is_interface_class {};  // expected-warning {{made available}}
struct __is_literal {};  // expected-warning {{made available}}
struct __is_lvalue_expr {};  // expected-warning {{made available}}
struct __is_lvalue_reference {};  // expected-warning {{made available}}
struct __is_member_function_pointer {};  // expected-warning {{made available}}
struct __is_member_object_pointer {};  // expected-warning {{made available}}
struct __is_member_pointer {};  // expected-warning {{made available}}
struct __is_nothrow_assignable {};  // expected-warning {{made available}}
struct __is_nothrow_constructible {};  // expected-warning {{made available}}
struct __is_nothrow_destructible {};  // expected-warning {{made available}}
struct __is_object {};  // expected-warning {{made available}}
struct __is_pointer {};  // expected-warning {{made available}}
struct __is_polymorphic {};  // expected-warning {{made available}}
struct __is_reference {};  // expected-warning {{made available}}
struct __is_rvalue_expr {};  // expected-warning {{made available}}
struct __is_rvalue_reference {};  // expected-warning {{made available}}
struct __is_same {};  // expected-warning {{made available}}
struct __is_scalar {};  // expected-warning {{made available}}
struct __is_sealed {};  // expected-warning {{made available}}
struct __is_signed {};  // expected-warning {{made available}}
struct __is_standard_layout {};  // expected-warning {{made available}}
struct __is_trivial {};  // expected-warning {{made available}}
struct __is_trivially_assignable {};  // expected-warning {{made available}}
struct __is_trivially_constructible {};  // expected-warning {{made available}}
struct __is_trivially_copyable {};  // expected-warning {{made available}}
struct __is_union {};  // expected-warning {{made available}}
struct __is_unsigned {};  // expected-warning {{made available}}
struct __is_void {};  // expected-warning {{made available}}
struct __is_volatile {};  // expected-warning {{made available}}


}