[f1e012b] | 1 | // |
---|
[3848e0e] | 2 | // Copyright (C) Glen Ditchfield 1994, 1999 |
---|
[f1e012b] | 3 | // |
---|
[f7f6785] | 4 | // prelude.cf -- Standard Cforall Preample for C99 |
---|
[f1e012b] | 5 | // |
---|
[3848e0e] | 6 | // Author : Glen Ditchfield |
---|
| 7 | // Created On : Sat Nov 29 07:23:41 2014 |
---|
[784deab] | 8 | // Last Modified By : Peter A. Buhr |
---|
[b91e8c1] | 9 | // Last Modified On : Sun Apr 22 13:21:47 2018 |
---|
| 10 | // Update Count : 103 |
---|
[3848e0e] | 11 | // |
---|
| 12 | |
---|
[a6151ba] | 13 | # 2 "prelude.cf" // needed for error messages from this file |
---|
[3848e0e] | 14 | |
---|
| 15 | // Section numbers from: http://plg.uwaterloo.ca/~cforall/refrat.pdf |
---|
| 16 | |
---|
[be9036d] | 17 | // ------------------------------------------------------------ |
---|
| 18 | // |
---|
| 19 | // Section 6.7.11 Trait Declarations |
---|
| 20 | // Note: the sized trait is used in declarations later in this |
---|
| 21 | // file, so it must be out of order. |
---|
| 22 | // |
---|
| 23 | // ------------------------------------------------------------ |
---|
| 24 | |
---|
[fd54fef] | 25 | trait sized(T &) {}; |
---|
[be9036d] | 26 | |
---|
[3848e0e] | 27 | // ------------------------------------------------------------ |
---|
| 28 | // |
---|
| 29 | // Section 4.1 Primary Expressions |
---|
| 30 | // |
---|
| 31 | // ------------------------------------------------------------ |
---|
| 32 | |
---|
[4cb935e] | 33 | //We have none |
---|
[3848e0e] | 34 | |
---|
| 35 | // ------------------------------------------------------------ |
---|
| 36 | // |
---|
| 37 | // Section 4.2 Postfix Operators |
---|
| 38 | // |
---|
| 39 | // ------------------------------------------------------------ |
---|
| 40 | |
---|
[d67cdb7] | 41 | signed short ?++( signed short & ), ?++( volatile signed short & ); |
---|
| 42 | signed short ?--( signed short & ), ?--( volatile signed short & ); |
---|
| 43 | unsigned short ?++( unsigned short & ), ?++( volatile unsigned short & ); |
---|
| 44 | unsigned short ?--( unsigned short & ), ?--( volatile unsigned short & ); |
---|
[469f709] | 45 | signed int ?++( signed int & ), ?++( volatile signed int & ); |
---|
| 46 | signed int ?--( signed int & ), ?--( volatile signed int & ); |
---|
| 47 | unsigned int ?++( unsigned int & ), ?++( volatile unsigned int & ); |
---|
| 48 | unsigned int ?--( unsigned int & ), ?--( volatile unsigned int & ); |
---|
| 49 | signed long int ?++( signed long int & ), ?++( volatile signed long int & ); |
---|
| 50 | signed long int ?--( signed long int & ), ?--( volatile signed long int & ); |
---|
| 51 | unsigned long int ?++( unsigned long int & ), ?++( volatile unsigned long int & ); |
---|
| 52 | unsigned long int ?--( unsigned long int & ), ?--( volatile unsigned long int & ); |
---|
| 53 | signed long long int ?++( signed long long int & ), ?++( volatile signed long long int & ); |
---|
| 54 | signed long long int ?--( signed long long int & ), ?--( volatile signed long long int & ); |
---|
| 55 | unsigned long long int ?++( unsigned long long int & ), ?++( volatile unsigned long long int & ); |
---|
| 56 | unsigned long long int ?--( unsigned long long int & ), ?--( volatile unsigned long long int & ); |
---|
| 57 | float ?++( float & ), ?++( volatile float & ); |
---|
| 58 | float ?--( float & ), ?--( volatile float & ); |
---|
| 59 | double ?++( double & ), ?++( volatile double & ); |
---|
| 60 | double ?--( double & ), ?--( volatile double & ); |
---|
| 61 | long double ?++( long double & ), ?++( volatile long double & ); |
---|
| 62 | long double ?--( long double & ), ?--( volatile long double & ); |
---|
| 63 | float _Complex ?++( float _Complex & ), ?++( volatile float _Complex & ); |
---|
| 64 | float _Complex ?--( float _Complex & ), ?--( volatile float _Complex & ); |
---|
| 65 | double _Complex ?++( double _Complex & ), ?++( volatile double _Complex & ); |
---|
| 66 | double _Complex ?--( double _Complex & ), ?--( volatile double _Complex & ); |
---|
| 67 | long double _Complex ?++( long double _Complex & ), ?++( volatile long double _Complex & ); |
---|
| 68 | long double _Complex ?--( long double _Complex & ), ?--( volatile long double _Complex & ); |
---|
| 69 | |
---|
[fd54fef] | 70 | forall( T & | sized(T) ) T * ?++( T *& ); |
---|
| 71 | forall( T & | sized(T) ) const T * ?++( const T *& ); |
---|
| 72 | forall( T & | sized(T) ) volatile T * ?++( volatile T *& ); |
---|
| 73 | forall( T & | sized(T) ) const volatile T * ?++( const volatile T *& ); |
---|
| 74 | forall( T & | sized(T) ) T * ?--( T *& ); |
---|
| 75 | forall( T & | sized(T) ) const T * ?--( const T *& ); |
---|
| 76 | forall( T & | sized(T) ) volatile T * ?--( volatile T *& ); |
---|
| 77 | forall( T & | sized(T) ) const volatile T * ?--( const volatile T *& ); |
---|
| 78 | |
---|
| 79 | forall( T & | sized(T) ) T & ?[?]( T *, ptrdiff_t ); |
---|
| 80 | forall( T & | sized(T) ) const T & ?[?]( const T *, ptrdiff_t ); |
---|
| 81 | forall( T & | sized(T) ) volatile T & ?[?]( volatile T *, ptrdiff_t ); |
---|
| 82 | forall( T & | sized(T) ) const volatile T & ?[?]( const volatile T *, ptrdiff_t ); |
---|
| 83 | forall( T & | sized(T) ) T & ?[?]( ptrdiff_t, T * ); |
---|
| 84 | forall( T & | sized(T) ) const T & ?[?]( ptrdiff_t, const T * ); |
---|
| 85 | forall( T & | sized(T) ) volatile T & ?[?]( ptrdiff_t, volatile T * ); |
---|
| 86 | forall( T & | sized(T) ) const volatile T & ?[?]( ptrdiff_t, const volatile T * ); |
---|
[3848e0e] | 87 | |
---|
| 88 | // ------------------------------------------------------------ |
---|
| 89 | // |
---|
| 90 | // Section 4.3 Unary Operators |
---|
| 91 | // |
---|
| 92 | // ------------------------------------------------------------ |
---|
| 93 | |
---|
[d67cdb7] | 94 | signed short ++?( signed short & ), --?( signed short & ); |
---|
[469f709] | 95 | signed int ++?( signed int & ), --?( signed int & ); |
---|
[d67cdb7] | 96 | unsigned short ++?( unsigned int & ), --?( unsigned int & ); |
---|
| 97 | unsigned int ++?( unsigned short & ), --?( unsigned short & ); |
---|
[469f709] | 98 | signed long int ++?( signed long int & ), --?( signed long int & ); |
---|
| 99 | unsigned long int ++?( unsigned long int & ), --?( unsigned long int & ); |
---|
| 100 | signed long long int ++?( signed long long int & ), --?( signed long long int & ); |
---|
| 101 | unsigned long long int ++?( unsigned long long int & ), --?( unsigned long long int & ); |
---|
| 102 | float ++?( float & ), --?( float & ); |
---|
| 103 | double ++?( double & ), --?( double & ); |
---|
| 104 | long double ++?( long double & ), --?( long double & ); |
---|
| 105 | float _Complex ++?( float _Complex & ), --?( float _Complex & ); |
---|
| 106 | double _Complex ++?( double _Complex & ), --?( double _Complex & ); |
---|
| 107 | long double _Complex ++?( long double _Complex & ), --?( long double _Complex & ); |
---|
| 108 | |
---|
[fd54fef] | 109 | forall( T & | sized(T) ) T * ++?( T *& ); |
---|
| 110 | forall( T & | sized(T) ) const T * ++?( const T *& ); |
---|
| 111 | forall( T & | sized(T) ) volatile T * ++?( volatile T *& ); |
---|
| 112 | forall( T & | sized(T) ) const volatile T * ++?( const volatile T *& ); |
---|
| 113 | forall( T & | sized(T) ) T * --?( T *& ); |
---|
| 114 | forall( T & | sized(T) ) const T * --?( const T *& ); |
---|
| 115 | forall( T & | sized(T) ) volatile T * --?( volatile T *& ); |
---|
| 116 | forall( T & | sized(T) ) const volatile T * --?( const volatile T *& ); |
---|
| 117 | |
---|
| 118 | forall( T & | sized(T) ) T & *?( T * ); |
---|
| 119 | forall( T & | sized(T) ) const T & *?( const T * ); |
---|
| 120 | forall( T & | sized(T) ) volatile T & *?( volatile T * ); |
---|
| 121 | forall( T & | sized(T) ) const volatile T & *?( const volatile T * ); |
---|
[469f709] | 122 | forall( ftype FT ) FT & *?( FT * ); |
---|
[3848e0e] | 123 | |
---|
[42be3c3] | 124 | _Bool +?( _Bool ), -?( _Bool ); |
---|
[f1e012b] | 125 | signed int +?( signed int ), -?( signed int ), ~?( signed int ); |
---|
| 126 | unsigned int +?( unsigned int ), -?( unsigned int ), ~?( unsigned int ); |
---|
| 127 | signed long int +?( signed long int ), -?( signed long int ), ~?( signed long int ); |
---|
| 128 | unsigned long int +?( unsigned long int ), -?( unsigned long int ), ~?( unsigned long int ); |
---|
| 129 | signed long long int +?( signed long long int ), -?( signed long long int ), ~?( signed long long int ); |
---|
| 130 | unsigned long long int +?( unsigned long long int ), -?( unsigned long long int ), ~?( unsigned long long int ); |
---|
[f7f6785] | 131 | float +?( float ), -?( float ); |
---|
| 132 | double +?( double ), -?( double ); |
---|
| 133 | long double +?( long double ), -?( long double ); |
---|
| 134 | float _Complex +?( float _Complex ), -?( float _Complex ); |
---|
| 135 | double _Complex +?( double _Complex ), -?( double _Complex ); |
---|
| 136 | long double _Complex +?( long double _Complex ), -?( long double _Complex ); |
---|
| 137 | |
---|
| 138 | signed int !?( signed int ), !?( unsigned int ), |
---|
| 139 | !?( long int ), !?( unsigned long int ), |
---|
| 140 | !?( long long int ), !?( unsigned long long int ), |
---|
| 141 | !?( float ), !?( double ), !?( long double ), |
---|
| 142 | !?( float _Complex ), !?( double _Complex ), !?( long double _Complex ); |
---|
[51b7345] | 143 | |
---|
[fd54fef] | 144 | forall( DT & ) int !?( DT * ); |
---|
| 145 | forall( DT & ) int !?( const DT * ); |
---|
| 146 | forall( DT & ) int !?( volatile DT * ); |
---|
| 147 | forall( DT & ) int !?( const volatile DT * ); |
---|
[b91e8c1] | 148 | forall( ftype FT ) int !?( FT * ); |
---|
[51b7345] | 149 | |
---|
[3848e0e] | 150 | // ------------------------------------------------------------ |
---|
| 151 | // |
---|
| 152 | // Section 4.5 Multiplicative Operators |
---|
| 153 | // |
---|
| 154 | // ------------------------------------------------------------ |
---|
[51b7345] | 155 | |
---|
[f7f6785] | 156 | signed int ?*?( signed int, signed int ), ?/?( signed int, signed int ), ?%?( signed int, signed int ); |
---|
| 157 | unsigned int ?*?( unsigned int, unsigned int ), ?/?( unsigned int, unsigned int ), ?%?( unsigned int, unsigned int ); |
---|
| 158 | signed long int ?*?( signed long int, signed long int ), ?/?( signed long int, signed long int ), ?%?( signed long int, signed long int ); |
---|
[784deab] | 159 | unsigned long int ?*?( unsigned long int, unsigned long int ), ?/?( unsigned long int, unsigned long int ), ?%?( unsigned long int, unsigned long int ); |
---|
[f7f6785] | 160 | signed long long int ?*?( signed long long int, signed long long int ), ?/?( signed long long int, signed long long int ), ?%?( signed long long int, signed long long int ); |
---|
[784deab] | 161 | unsigned long long int ?*?( unsigned long long int, unsigned long long int ), ?/?( unsigned long long int, unsigned long long int ), ?%?( unsigned long long int, unsigned long long int ); |
---|
[f7f6785] | 162 | float ?*?( float, float ), ?/?( float, float ); |
---|
| 163 | double ?*?( double, double ), ?/?( double, double ); |
---|
| 164 | long double ?*?( long double, long double ), ?/?( long double, long double ); |
---|
| 165 | // gcc does not support _Imaginary |
---|
| 166 | //float _Imaginary ?*?( float _Imaginary, float _Imaginary), ?/?( float _Imaginary, float _Imaginary ); |
---|
| 167 | //double _Imaginary ?*?( double _Imaginary, double _Imaginary), ?/?( double _Imaginary, double _Imaginary ); |
---|
| 168 | //long double _Imaginary ?*?( long double _Imaginary, long double _Imaginary), ?/?( long double _Imaginary, long double _Imaginary ); |
---|
| 169 | float _Complex ?*?( float _Complex, float _Complex ), ?/?( float _Complex, float _Complex ); |
---|
| 170 | double _Complex ?*?( double _Complex, double _Complex ), ?/?( double _Complex, double _Complex ); |
---|
| 171 | long double _Complex ?*?( long double _Complex, long double _Complex ), ?/?( long double _Complex, long double _Complex ); |
---|
[3848e0e] | 172 | |
---|
| 173 | // ------------------------------------------------------------ |
---|
| 174 | // |
---|
| 175 | // Section 4.6 Additive Operators |
---|
| 176 | // |
---|
| 177 | // ------------------------------------------------------------ |
---|
| 178 | |
---|
[f7f6785] | 179 | _Bool ?+?( _Bool, _Bool ), ?-?( _Bool, _Bool ); |
---|
| 180 | signed int ?+?( signed int, signed int ), ?-?( signed int, signed int ); |
---|
| 181 | unsigned int ?+?( unsigned int, unsigned int ), ?-?( unsigned int, unsigned int ); |
---|
| 182 | signed long int ?+?( signed long int, signed long int ), ?-?( signed long int, signed long int ); |
---|
[784deab] | 183 | unsigned long int ?+?( unsigned long int, unsigned long int ), ?-?( unsigned long int, unsigned long int ); |
---|
[f7f6785] | 184 | signed long long int ?+?( signed long long int, long long int signed), ?-?( signed long long int, signed long long int ); |
---|
[784deab] | 185 | unsigned long long int ?+?( unsigned long long int, unsigned long long int ), ?-?( unsigned long long int, unsigned long long int ); |
---|
[f7f6785] | 186 | float ?+?( float, float ), ?-?( float, float ); |
---|
| 187 | double ?+?( double, double ), ?-?( double, double ); |
---|
| 188 | long double ?+?( long double, long double ), ?-?( long double, long double ); |
---|
| 189 | float _Complex ?+?( float _Complex, float _Complex ), ?-?( float _Complex, float _Complex ); |
---|
| 190 | double _Complex ?+?( double _Complex, double _Complex ), ?-?( double _Complex, double _Complex ); |
---|
| 191 | long double _Complex ?+?( long double _Complex, long double _Complex ), ?-?( long double _Complex, long double _Complex ); |
---|
| 192 | |
---|
[fd54fef] | 193 | forall( T & | sized(T) ) T * ?+?( T *, ptrdiff_t ); |
---|
| 194 | forall( T & | sized(T) ) T * ?+?( ptrdiff_t, T * ); |
---|
| 195 | forall( T & | sized(T) ) const T * ?+?( const T *, ptrdiff_t ); |
---|
| 196 | forall( T & | sized(T) ) const T * ?+?( ptrdiff_t, const T * ); |
---|
| 197 | forall( T & | sized(T) ) volatile T * ?+?( volatile T *, ptrdiff_t ); |
---|
| 198 | forall( T & | sized(T) ) volatile T * ?+?( ptrdiff_t, volatile T * ); |
---|
| 199 | forall( T & | sized(T) ) const volatile T * ?+?( const volatile T *, ptrdiff_t ); |
---|
| 200 | forall( T & | sized(T) ) const volatile T * ?+?( ptrdiff_t, const volatile T * ); |
---|
| 201 | forall( T & | sized(T) ) T * ?-?( T *, ptrdiff_t ); |
---|
| 202 | forall( T & | sized(T) ) const T * ?-?( const T *, ptrdiff_t ); |
---|
| 203 | forall( T & | sized(T) ) volatile T * ?-?( volatile T *, ptrdiff_t ); |
---|
| 204 | forall( T & | sized(T) ) const volatile T * ?-?( const volatile T *, ptrdiff_t ); |
---|
| 205 | forall( T & | sized(T) ) ptrdiff_t ?-?( const volatile T *, const volatile T * ); |
---|
[3848e0e] | 206 | |
---|
| 207 | // ------------------------------------------------------------ |
---|
| 208 | // |
---|
| 209 | // Section 4.7 Bitwise Shift Operators |
---|
| 210 | // |
---|
| 211 | // ------------------------------------------------------------ |
---|
| 212 | |
---|
[784deab] | 213 | signed int ?<<?( signed int, signed int ), ?>>?( signed int, signed int ); |
---|
| 214 | unsigned int ?<<?( unsigned int, unsigned int ), ?>>?( unsigned int, unsigned int ); |
---|
| 215 | signed long int ?<<?( signed long int, signed long int ), ?>>?( signed long int, signed long int ); |
---|
| 216 | unsigned long int ?<<?( unsigned long int, unsigned long int ), ?>>?( unsigned long int, unsigned long int ); |
---|
| 217 | signed long long int ?<<?( signed long long int, signed long long int ), ?>>?( signed long long int, signed long long int ); |
---|
| 218 | unsigned long long int ?<<?( unsigned long long int, unsigned long long int ), ?>>?( unsigned long long int, unsigned long long int ); |
---|
[3848e0e] | 219 | |
---|
| 220 | // ------------------------------------------------------------ |
---|
| 221 | // |
---|
| 222 | // Section 4.8 Relational Operators |
---|
| 223 | // |
---|
| 224 | // ------------------------------------------------------------ |
---|
| 225 | |
---|
[784deab] | 226 | signed int ?<?( _Bool, _Bool ), ?<=?( _Bool, _Bool ), |
---|
| 227 | ?>?( _Bool, _Bool ), ?>=?( _Bool, _Bool ); |
---|
[8053d2c] | 228 | signed int ?<?( char, char ), ?<=?( char, char ), |
---|
| 229 | ?>?( char, char ), ?>=?( char, char ); |
---|
[ff178ee] | 230 | signed int ?<?( signed char, signed char ), ?<=?( signed char, signed char ), |
---|
| 231 | ?>?( signed char, signed char ), ?>=?( signed char, signed char ); |
---|
[784deab] | 232 | signed int ?<?( unsigned char, unsigned char ), ?<=?( unsigned char, unsigned char ), |
---|
| 233 | ?>?( unsigned char, unsigned char ), ?>=?( unsigned char, unsigned char ); |
---|
[ff178ee] | 234 | signed int ?<?( signed short, signed short ), ?<=?( signed short, signed short ), |
---|
| 235 | ?>?( signed short, signed short ), ?>=?( signed short, signed short ); |
---|
| 236 | signed int ?<?( unsigned short, unsigned short ), ?<=?( unsigned short, unsigned short ), |
---|
[8053d2c] | 237 | ?>?( unsigned short, unsigned short ), ?>=?( unsigned short, unsigned short ); |
---|
[784deab] | 238 | signed int ?<?( signed int, signed int ), ?<=?( signed int, signed int ), |
---|
| 239 | ?>?( signed int, signed int ), ?>=?( signed int, signed int ); |
---|
| 240 | signed int ?<?( unsigned int, unsigned int ), ?<=?( unsigned int, unsigned int ), |
---|
| 241 | ?>?( unsigned int, unsigned int ), ?>=?( unsigned int, unsigned int ); |
---|
| 242 | signed int ?<?( signed long int, signed long int ), ?<=?( signed long int, signed long int ), |
---|
| 243 | ?>?( signed long int, signed long int ), ?>=?( signed long int, signed long int ); |
---|
| 244 | signed int ?<?( unsigned long int, unsigned long int ), ?<=?( unsigned long int, unsigned long int ), |
---|
| 245 | ?>?( unsigned long int, unsigned long int ), ?>=?( unsigned long int, unsigned long int ); |
---|
| 246 | signed int ?<?( signed long long int, signed long long int ), ?<=?( signed long long int, signed long long int ), |
---|
| 247 | ?>?( signed long long int, signed long long int ), ?>=?( signed long long int, signed long long int ); |
---|
| 248 | signed int ?<?( unsigned long long int, unsigned long long int ), ?<=?( unsigned long long int, unsigned long long int ), |
---|
| 249 | ?>?( unsigned long long int, unsigned long long int ), ?>=?( unsigned long long int, unsigned long long int ); |
---|
| 250 | signed int ?<?( float, float ), ?<=?( float, float ), |
---|
| 251 | ?>?( float, float ), ?>=?( float, float ); |
---|
| 252 | signed int ?<?( double, double ), ?<=?( double, double ), |
---|
| 253 | ?>?( double, double ), ?>=?( double, double ); |
---|
| 254 | signed int ?<?( long double, long double ), ?<=?( long double, long double ), |
---|
| 255 | ?>?( long double, long double ), ?>=?( long double, long double ); |
---|
[f7f6785] | 256 | |
---|
[fd54fef] | 257 | forall( DT & ) signed int ?<?( DT *, DT * ); |
---|
| 258 | forall( DT & ) signed int ?<?( const DT *, const DT * ); |
---|
| 259 | forall( DT & ) signed int ?<?( volatile DT *, volatile DT * ); |
---|
| 260 | forall( DT & ) signed int ?<?( const volatile DT *, const volatile DT * ); |
---|
[14f6bb39] | 261 | |
---|
[fd54fef] | 262 | forall( DT & ) signed int ?>?( DT *, DT * ); |
---|
| 263 | forall( DT & ) signed int ?>?( const DT *, const DT * ); |
---|
| 264 | forall( DT & ) signed int ?>?( volatile DT *, volatile DT * ); |
---|
| 265 | forall( DT & ) signed int ?>?( const volatile DT *, const volatile DT * ); |
---|
[14f6bb39] | 266 | |
---|
[fd54fef] | 267 | forall( DT & ) signed int ?<=?( DT *, DT * ); |
---|
| 268 | forall( DT & ) signed int ?<=?( const DT *, const DT * ); |
---|
| 269 | forall( DT & ) signed int ?<=?( volatile DT *, volatile DT * ); |
---|
| 270 | forall( DT & ) signed int ?<=?( const volatile DT *, const volatile DT * ); |
---|
[14f6bb39] | 271 | |
---|
[fd54fef] | 272 | forall( DT & ) signed int ?>=?( DT *, DT * ); |
---|
| 273 | forall( DT & ) signed int ?>=?( const DT *, const DT * ); |
---|
| 274 | forall( DT & ) signed int ?>=?( volatile DT *, volatile DT * ); |
---|
| 275 | forall( DT & ) signed int ?>=?( const volatile DT *, const volatile DT * ); |
---|
[3848e0e] | 276 | |
---|
| 277 | // ------------------------------------------------------------ |
---|
| 278 | // |
---|
| 279 | // Section 4.9 Equality Operators |
---|
| 280 | // |
---|
| 281 | // ------------------------------------------------------------ |
---|
| 282 | |
---|
[4cb935e] | 283 | signed int ?==?( _Bool, _Bool ), ?!=?( _Bool, _Bool ); |
---|
[ff178ee] | 284 | signed int ?==?( char, char ), ?!=?( char, char ); |
---|
| 285 | signed int ?==?( signed char, signed char ), ?!=?( signed char, signed char ); |
---|
| 286 | signed int ?==?( unsigned char, unsigned char ), ?!=?( unsigned char, unsigned char ); |
---|
| 287 | signed int ?==?( signed short, signed short ), ?!=?( signed short, signed short ); |
---|
| 288 | signed int ?==?( unsigned short, unsigned short ), ?!=?( unsigned short, unsigned short ); |
---|
[4cb935e] | 289 | signed int ?==?( signed int, signed int ), ?!=?( signed int, signed int ); |
---|
| 290 | signed int ?==?( unsigned int, unsigned int ), ?!=?( unsigned int, unsigned int ); |
---|
| 291 | signed int ?==?( signed long int, signed long int ), ?!=?( signed long int, signed long int ); |
---|
| 292 | signed int ?==?( unsigned long int, unsigned long int ), ?!=?( unsigned long int, unsigned long int ); |
---|
[784deab] | 293 | signed int ?==?( signed long long int, long long int signed), ?!=?( signed long long int, signed long long int ); |
---|
| 294 | signed int ?==?( unsigned long long int, unsigned long long int ), ?!=?( unsigned long long int, unsigned long long int ); |
---|
[4cb935e] | 295 | signed int ?==?( float, float ), ?!=?( float, float ); |
---|
| 296 | signed int ?==?( double, double ), ?!=?( double, double ); |
---|
| 297 | signed int ?==?( long double, long double ), ?!=?( long double, long double ); |
---|
| 298 | signed int ?==?( float _Complex, float _Complex ), ?!=?( float _Complex, float _Complex ); |
---|
| 299 | signed int ?==?( double _Complex, double _Complex ), ?!=?( double _Complex, double _Complex ); |
---|
[784deab] | 300 | signed int ?==?( long double _Complex, long double _Complex ), ?!=?( long double _Complex, long double _Complex ); |
---|
[4cb935e] | 301 | signed int ?==?( zero_t, zero_t ), ?!=?( zero_t, zero_t ); |
---|
| 302 | signed int ?==?( one_t, one_t ), ?!=?( one_t, one_t ); |
---|
[f7f6785] | 303 | |
---|
[fd54fef] | 304 | forall( DT & ) signed int ?==?( DT *, DT * ); |
---|
| 305 | forall( DT & ) signed int ?==?( const DT *, const DT * ); |
---|
| 306 | forall( DT & ) signed int ?==?( volatile DT *, volatile DT * ); |
---|
| 307 | forall( DT & ) signed int ?==?( const volatile DT *, const volatile DT * ); |
---|
[f7f6785] | 308 | forall( ftype FT ) signed int ?==?( FT *, FT * ); |
---|
[fd54fef] | 309 | forall( DT & ) signed int ?!=?( DT *, DT * ); |
---|
| 310 | forall( DT & ) signed int ?!=?( const DT *, const DT * ); |
---|
| 311 | forall( DT & ) signed int ?!=?( volatile DT *, volatile DT * ); |
---|
| 312 | forall( DT & ) signed int ?!=?( const volatile DT *, const volatile DT * ); |
---|
[f7f6785] | 313 | forall( ftype FT ) signed int ?!=?( FT *, FT * ); |
---|
| 314 | |
---|
[a2a77af] | 315 | // forall( dtype DT ) signed int ?==?( const volatile DT *, const volatile void * ); |
---|
| 316 | // forall( dtype DT ) signed int ?==?( const volatile void *, const volatile DT * ); |
---|
| 317 | // forall( dtype DT ) signed int ?!=?( const volatile DT *, const volatile void * ); |
---|
| 318 | // forall( dtype DT ) signed int ?!=?( const volatile void *, const volatile DT * ); |
---|
[f7f6785] | 319 | |
---|
[0b150ec] | 320 | // forall( dtype DT ) signed int ?==?( const volatile DT *, zero_t ); |
---|
| 321 | // forall( dtype DT ) signed int ?==?( zero_t, const volatile DT * ); |
---|
| 322 | // forall( ftype FT ) signed int ?==?( FT *, zero_t ); |
---|
| 323 | // forall( ftype FT ) signed int ?==?( zero_t, FT * ); |
---|
| 324 | // forall( dtype DT ) signed int ?!=?( const volatile DT *, zero_t ); |
---|
| 325 | // forall( dtype DT ) signed int ?!=?( zero_t, const volatile DT * ); |
---|
| 326 | // forall( ftype FT ) signed int ?!=?( FT *, zero_t ); |
---|
| 327 | // forall( ftype FT ) signed int ?!=?( zero_t, FT * ); |
---|
[3848e0e] | 328 | |
---|
| 329 | // ------------------------------------------------------------ |
---|
| 330 | // |
---|
| 331 | // Section 4.10 Bitwise AND Operators |
---|
| 332 | // |
---|
| 333 | // ------------------------------------------------------------ |
---|
[51b7345] | 334 | |
---|
[f7f6785] | 335 | _Bool ?&?( _Bool, _Bool ); |
---|
| 336 | signed int ?&?( signed int, signed int ); |
---|
| 337 | unsigned int ?&?( unsigned int, unsigned int ); |
---|
| 338 | signed long int ?&?( signed long int, signed long int ); |
---|
| 339 | unsigned long int ?&?( unsigned long int, unsigned long int ); |
---|
[784deab] | 340 | signed long long int ?&?( signed long long int, signed long long int ); |
---|
| 341 | unsigned long long int ?&?( unsigned long long int, unsigned long long int ); |
---|
[51b7345] | 342 | |
---|
[3848e0e] | 343 | // ------------------------------------------------------------ |
---|
| 344 | // |
---|
| 345 | // Section 4.11 Bitwise XOR Operators |
---|
| 346 | // |
---|
| 347 | // ------------------------------------------------------------ |
---|
[51b7345] | 348 | |
---|
[f7f6785] | 349 | _Bool ?^?( _Bool, _Bool ); |
---|
| 350 | signed int ?^?( signed int, signed int ); |
---|
| 351 | unsigned int ?^?( unsigned int, unsigned int ); |
---|
| 352 | signed long int ?^?( signed long int, signed long int ); |
---|
| 353 | unsigned long int ?^?( unsigned long int, unsigned long int ); |
---|
[784deab] | 354 | signed long long int ?^?( signed long long int, signed long long int ); |
---|
| 355 | unsigned long long int ?^?( unsigned long long int, unsigned long long int ); |
---|
[51b7345] | 356 | |
---|
[3848e0e] | 357 | // ------------------------------------------------------------ |
---|
| 358 | // |
---|
| 359 | // Section 4.12 Bitwise OR Operators |
---|
| 360 | // |
---|
| 361 | // ------------------------------------------------------------ |
---|
[51b7345] | 362 | |
---|
[f7f6785] | 363 | _Bool ?|?( _Bool, _Bool ); |
---|
| 364 | signed int ?|?( signed int, signed int ); |
---|
| 365 | unsigned int ?|?( unsigned int, unsigned int ); |
---|
| 366 | signed long int ?|?( signed long int, signed long int ); |
---|
| 367 | unsigned long int ?|?( unsigned long int, unsigned long int ); |
---|
[784deab] | 368 | signed long long int ?|?( signed long long int, signed long long int ); |
---|
| 369 | unsigned long long int ?|?( unsigned long long int, unsigned long long int ); |
---|
[51b7345] | 370 | |
---|
[3848e0e] | 371 | // ------------------------------------------------------------ |
---|
| 372 | // |
---|
| 373 | // Section 4.16 Assignment Operator |
---|
| 374 | // |
---|
| 375 | // ------------------------------------------------------------ |
---|
| 376 | |
---|
[469f709] | 377 | forall( ftype FT ) FT * ?=?( FT *&, FT * ); |
---|
[fd54fef] | 378 | forall( ftyep FT ) FT * ?=?( FT * volatile &, FT * ); |
---|
| 379 | |
---|
| 380 | forall( DT & ) DT * ?=?( DT * &, DT * ); |
---|
| 381 | forall( DT & ) DT * ?=?( DT * volatile &, DT * ); |
---|
| 382 | forall( DT & ) const DT * ?=?( const DT * &, DT * ); |
---|
| 383 | forall( DT & ) const DT * ?=?( const DT * volatile &, DT * ); |
---|
| 384 | forall( DT & ) const DT * ?=?( const DT * &, const DT * ); |
---|
| 385 | forall( DT & ) const DT * ?=?( const DT * volatile &, const DT * ); |
---|
| 386 | forall( DT & ) volatile DT * ?=?( volatile DT * &, DT * ); |
---|
| 387 | forall( DT & ) volatile DT * ?=?( volatile DT * volatile &, DT * ); |
---|
| 388 | forall( DT & ) volatile DT * ?=?( volatile DT * &, volatile DT * ); |
---|
| 389 | forall( DT & ) volatile DT * ?=?( volatile DT * volatile &, volatile DT * ); |
---|
| 390 | |
---|
| 391 | forall( DT & ) const volatile DT * ?=?( const volatile DT * &, DT * ); |
---|
| 392 | forall( DT & ) const volatile DT * ?=?( const volatile DT * volatile &, DT * ); |
---|
| 393 | forall( DT & ) const volatile DT * ?=?( const volatile DT * &, const DT * ); |
---|
| 394 | forall( DT & ) const volatile DT * ?=?( const volatile DT * volatile &, const DT * ); |
---|
| 395 | forall( DT & ) const volatile DT * ?=?( const volatile DT * &, volatile DT * ); |
---|
| 396 | forall( DT & ) const volatile DT * ?=?( const volatile DT * volatile &, volatile DT * ); |
---|
| 397 | forall( DT & ) const volatile DT * ?=?( const volatile DT * &, const volatile DT * ); |
---|
| 398 | forall( DT & ) const volatile DT * ?=?( const volatile DT * volatile &, const volatile DT * ); |
---|
| 399 | |
---|
| 400 | forall( DT & ) void * ?=?( void * &, DT * ); |
---|
| 401 | forall( DT & ) void * ?=?( void * volatile &, DT * ); |
---|
| 402 | forall( DT & ) const void * ?=?( const void * &, DT * ); |
---|
| 403 | forall( DT & ) const void * ?=?( const void * volatile &, DT * ); |
---|
| 404 | forall( DT & ) const void * ?=?( const void * &, const DT * ); |
---|
| 405 | forall( DT & ) const void * ?=?( const void * volatile &, const DT * ); |
---|
| 406 | forall( DT & ) volatile void * ?=?( volatile void * &, DT * ); |
---|
| 407 | forall( DT & ) volatile void * ?=?( volatile void * volatile &, DT * ); |
---|
| 408 | forall( DT & ) volatile void * ?=?( volatile void * &, volatile DT * ); |
---|
| 409 | forall( DT & ) volatile void * ?=?( volatile void * volatile &, volatile DT * ); |
---|
| 410 | forall( DT & ) const volatile void * ?=?( const volatile void * &, DT * ); |
---|
| 411 | forall( DT & ) const volatile void * ?=?( const volatile void * volatile &, DT * ); |
---|
| 412 | forall( DT & ) const volatile void * ?=?( const volatile void * &, const DT * ); |
---|
| 413 | forall( DT & ) const volatile void * ?=?( const volatile void * volatile &, const DT * ); |
---|
| 414 | forall( DT & ) const volatile void * ?=?( const volatile void * &, volatile DT * ); |
---|
| 415 | forall( DT & ) const volatile void * ?=?( const volatile void * volatile &, volatile DT * ); |
---|
| 416 | forall( DT & ) const volatile void * ?=?( const volatile void * &, const volatile DT * ); |
---|
| 417 | forall( DT & ) const volatile void * ?=?( const volatile void * volatile &, const volatile DT * ); |
---|
[469f709] | 418 | |
---|
[bf30ab3] | 419 | //forall( dtype DT ) DT * ?=?( DT * &, zero_t ); |
---|
| 420 | //forall( dtype DT ) DT * ?=?( DT * volatile &, zero_t ); |
---|
[fd54fef] | 421 | forall( DT & ) const DT * ?=?( const DT * &, zero_t ); |
---|
| 422 | forall( DT & ) const DT * ?=?( const DT * volatile &, zero_t ); |
---|
[bf30ab3] | 423 | //forall( dtype DT ) volatile DT * ?=?( volatile DT * &, zero_t ); |
---|
| 424 | //forall( dtype DT ) volatile DT * ?=?( volatile DT * volatile &, zero_t ); |
---|
[fd54fef] | 425 | forall( DT & ) const volatile DT * ?=?( const volatile DT * &, zero_t ); |
---|
| 426 | forall( DT & ) const volatile DT * ?=?( const volatile DT * volatile &, zero_t ); |
---|
[469f709] | 427 | |
---|
[5ccb10d] | 428 | forall( ftype FT ) FT * ?=?( FT * &, zero_t ); |
---|
| 429 | forall( ftype FT ) FT * ?=?( FT * volatile &, zero_t ); |
---|
[469f709] | 430 | |
---|
[fd54fef] | 431 | forall( T & | sized(T) ) T * ?+=?( T * &, ptrdiff_t ); |
---|
| 432 | forall( T & | sized(T) ) T * ?+=?( T * volatile &, ptrdiff_t ); |
---|
| 433 | forall( T & | sized(T) ) const T * ?+=?( const T * &, ptrdiff_t ); |
---|
| 434 | forall( T & | sized(T) ) const T * ?+=?( const T * volatile &, ptrdiff_t ); |
---|
| 435 | forall( T & | sized(T) ) volatile T * ?+=?( volatile T * &, ptrdiff_t ); |
---|
| 436 | forall( T & | sized(T) ) volatile T * ?+=?( volatile T * volatile &, ptrdiff_t ); |
---|
| 437 | forall( T & | sized(T) ) const volatile T * ?+=?( const volatile T * &, ptrdiff_t ); |
---|
| 438 | forall( T & | sized(T) ) const volatile T * ?+=?( const volatile T * volatile &, ptrdiff_t ); |
---|
| 439 | forall( T & | sized(T) ) T * ?-=?( T * &, ptrdiff_t ); |
---|
| 440 | forall( T & | sized(T) ) T * ?-=?( T * volatile &, ptrdiff_t ); |
---|
| 441 | forall( T & | sized(T) ) const T * ?-=?( const T * &, ptrdiff_t ); |
---|
| 442 | forall( T & | sized(T) ) const T * ?-=?( const T * volatile &, ptrdiff_t ); |
---|
| 443 | forall( T & | sized(T) ) volatile T * ?-=?( volatile T * &, ptrdiff_t ); |
---|
| 444 | forall( T & | sized(T) ) volatile T * ?-=?( volatile T * volatile &, ptrdiff_t ); |
---|
| 445 | forall( T & | sized(T) ) const volatile T * ?-=?( const volatile T * &, ptrdiff_t ); |
---|
| 446 | forall( T & | sized(T) ) const volatile T * ?-=?( const volatile T * volatile &, ptrdiff_t ); |
---|
[469f709] | 447 | |
---|
| 448 | _Bool ?=?( _Bool &, _Bool ), ?=?( volatile _Bool &, _Bool ); |
---|
| 449 | char ?=?( char &, char ), ?=?( volatile char &, char ); |
---|
| 450 | char signed ?=?( char signed &, char signed ), ?=?( volatile char signed &, char signed ); |
---|
| 451 | char unsigned ?=?( char unsigned &, char unsigned ), ?=?( volatile char unsigned &, char unsigned ); |
---|
| 452 | int short ?=?( int short &, int short ), ?=?( volatile int short &, int short ); |
---|
| 453 | int short unsigned ?=?( int short unsigned &, int short unsigned ), ?=?( volatile int short unsigned &, int short unsigned ); |
---|
| 454 | signed int ?=?( signed int &, signed int ), ?=?( volatile signed int &, signed int ); |
---|
| 455 | unsigned int ?=?( unsigned &, unsigned ), ?=?( volatile unsigned &, unsigned ); |
---|
| 456 | signed long int ?=?( signed long int &, signed long int ), ?=?( volatile signed long int &, signed long int ); |
---|
| 457 | unsigned long int ?=?( unsigned long int &, unsigned long int ), ?=?( volatile unsigned long int &, unsigned long int ); |
---|
| 458 | signed long long int ?=?( signed long long int &, signed long long int ), ?=?( volatile signed long long int &, signed long long int ); |
---|
| 459 | unsigned long long int ?=?( unsigned long long int &, unsigned long long int ), ?=?( volatile unsigned long long int &, unsigned long long int ); |
---|
[8053d2c] | 460 | zero_t ?=?( zero_t &, zero_t ); |
---|
[469f709] | 461 | one_t ?=?( one_t &, one_t ); |
---|
| 462 | |
---|
| 463 | |
---|
| 464 | char ?*=?( char &, char ), ?*=?( volatile char &, char ); |
---|
| 465 | char signed ?*=?( char signed &, char signed ), ?*=?( volatile char signed &, char signed ); |
---|
| 466 | char unsigned ?*=?( char unsigned &, char unsigned ), ?*=?( volatile char unsigned &, char unsigned ); |
---|
| 467 | int short ?*=?( int short &, int short ), ?*=?( volatile int short &, int short ); |
---|
| 468 | int short unsigned ?*=?( int short unsigned &, int short unsigned ), ?*=?( volatile int short unsigned &, int short unsigned ); |
---|
| 469 | signed int ?*=?( signed int &, signed int ), ?*=?( volatile signed int &, signed int ); |
---|
| 470 | unsigned int ?*=?( unsigned &, unsigned ), ?*=?( volatile unsigned &, unsigned ); |
---|
| 471 | signed long int ?*=?( signed long int &, signed long int ), ?*=?( volatile signed long int &, signed long int ); |
---|
| 472 | unsigned long int ?*=?( unsigned long int &, unsigned long int ), ?*=?( volatile unsigned long int &, unsigned long int ); |
---|
| 473 | signed long long int ?*=?( signed long long int &, signed long long int ), ?*=?( volatile signed long long int &, signed long long int ); |
---|
| 474 | unsigned long long int ?*=?( unsigned long long int &, unsigned long long int ), ?*=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 475 | |
---|
| 476 | _Bool ?/=?( _Bool &, _Bool ), ?/=?( volatile _Bool &, _Bool ); |
---|
| 477 | char ?/=?( char &, char ), ?/=?( volatile char &, char ); |
---|
| 478 | char signed ?/=?( char signed &, char signed ), ?/=?( volatile char signed &, char signed ); |
---|
| 479 | char unsigned ?/=?( char unsigned &, char unsigned ), ?/=?( volatile char unsigned &, char unsigned ); |
---|
| 480 | int short ?/=?( int short &, int short ), ?/=?( volatile int short &, int short ); |
---|
| 481 | int short unsigned ?/=?( int short unsigned &, int short unsigned ), ?/=?( volatile int short unsigned &, int short unsigned ); |
---|
| 482 | signed int ?/=?( signed int &, signed int ), ?/=?( volatile signed int &, signed int ); |
---|
| 483 | unsigned int ?/=?( unsigned &, unsigned ), ?/=?( volatile unsigned &, unsigned ); |
---|
| 484 | signed long int ?/=?( signed long int &, signed long int ), ?/=?( volatile signed long int &, signed long int ); |
---|
| 485 | unsigned long int ?/=?( unsigned long int &, unsigned long int ), ?/=?( volatile unsigned long int &, unsigned long int ); |
---|
| 486 | signed long long int ?/=?( signed long long int &, signed long long int ), ?/=?( volatile signed long long int &, signed long long int ); |
---|
| 487 | unsigned long long int ?/=?( unsigned long long int &, unsigned long long int ), ?/=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 488 | |
---|
| 489 | _Bool ?%=?( _Bool &, _Bool ), ?%=?( volatile _Bool &, _Bool ); |
---|
| 490 | char ?%=?( char &, char ), ?%=?( volatile char &, char ); |
---|
| 491 | char signed ?%=?( char signed &, char signed ), ?%=?( volatile char signed &, char signed ); |
---|
| 492 | char unsigned ?%=?( char unsigned &, char unsigned ), ?%=?( volatile char unsigned &, char unsigned ); |
---|
| 493 | int short ?%=?( int short &, int short ), ?%=?( volatile int short &, int short ); |
---|
| 494 | int short unsigned ?%=?( int short unsigned &, int short unsigned ), ?%=?( volatile int short unsigned &, int short unsigned ); |
---|
| 495 | signed int ?%=?( signed int &, signed int ), ?%=?( volatile signed int &, signed int ); |
---|
| 496 | unsigned int ?%=?( unsigned &, unsigned ), ?%=?( volatile unsigned &, unsigned ); |
---|
| 497 | signed long int ?%=?( signed long int &, signed long int ), ?%=?( volatile signed long int &, signed long int ); |
---|
| 498 | unsigned long int ?%=?( unsigned long int &, unsigned long int ), ?%=?( volatile unsigned long int &, unsigned long int ); |
---|
| 499 | signed long long int ?%=?( signed long long int &, signed long long int ), ?%=?( volatile signed long long int &, signed long long int ); |
---|
| 500 | unsigned long long int ?%=?( unsigned long long int &, unsigned long long int ), ?%=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 501 | |
---|
| 502 | _Bool ?+=?( _Bool &, _Bool ), ?+=?( volatile _Bool &, _Bool ); |
---|
| 503 | char ?+=?( char &, char ), ?+=?( volatile char &, char ); |
---|
| 504 | char signed ?+=?( char signed &, char signed ), ?+=?( volatile char signed &, char signed ); |
---|
| 505 | char unsigned ?+=?( char unsigned &, char unsigned ), ?+=?( volatile char unsigned &, char unsigned ); |
---|
| 506 | int short ?+=?( int short &, int short ), ?+=?( volatile int short &, int short ); |
---|
| 507 | int short unsigned ?+=?( int short unsigned &, int short unsigned ), ?+=?( volatile int short unsigned &, int short unsigned ); |
---|
| 508 | signed int ?+=?( signed int &, signed int ), ?+=?( volatile signed int &, signed int ); |
---|
| 509 | unsigned int ?+=?( unsigned &, unsigned ), ?+=?( volatile unsigned &, unsigned ); |
---|
| 510 | signed long int ?+=?( signed long int &, signed long int ), ?+=?( volatile signed long int &, signed long int ); |
---|
| 511 | unsigned long int ?+=?( unsigned long int &, unsigned long int ), ?+=?( volatile unsigned long int &, unsigned long int ); |
---|
| 512 | signed long long int ?+=?( signed long long int &, signed long long int ), ?+=?( volatile signed long long int &, signed long long int ); |
---|
| 513 | unsigned long long int ?+=?( unsigned long long int &, unsigned long long int ), ?+=?( volatile unsigned long long int &, unsigned long long int ); |
---|
[496ab8d] | 514 | //signed int128 ?+=?( signed int128 &, signed int128 ), ?+=?( volatile signed int128 &, signed int128 ); |
---|
| 515 | //unsigned int128 ?+=?( unsigned int128 &, unsigned int128 ), ?+=?( volatile unsigned int128 &, unsigned int128 ); |
---|
[469f709] | 516 | |
---|
| 517 | _Bool ?-=?( _Bool &, _Bool ), ?-=?( volatile _Bool &, _Bool ); |
---|
| 518 | char ?-=?( char &, char ), ?-=?( volatile char &, char ); |
---|
| 519 | char signed ?-=?( char signed &, char signed ), ?-=?( volatile char signed &, char signed ); |
---|
| 520 | char unsigned ?-=?( char unsigned &, char unsigned ), ?-=?( volatile char unsigned &, char unsigned ); |
---|
| 521 | int short ?-=?( int short &, int short ), ?-=?( volatile int short &, int short ); |
---|
| 522 | int short unsigned ?-=?( int short unsigned &, int short unsigned ), ?-=?( volatile int short unsigned &, int short unsigned ); |
---|
| 523 | signed int ?-=?( signed int &, signed int ), ?-=?( volatile signed int &, signed int ); |
---|
| 524 | unsigned int ?-=?( unsigned &, unsigned ), ?-=?( volatile unsigned &, unsigned ); |
---|
| 525 | signed long int ?-=?( signed long int &, signed long int ), ?-=?( volatile signed long int &, signed long int ); |
---|
| 526 | unsigned long int ?-=?( unsigned long int &, unsigned long int ), ?-=?( volatile unsigned long int &, unsigned long int ); |
---|
| 527 | signed long long int ?-=?( signed long long int &, signed long long int ), ?-=?( volatile signed long long int &, signed long long int ); |
---|
| 528 | unsigned long long int ?-=?( unsigned long long int &, unsigned long long int ), ?-=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 529 | |
---|
| 530 | char ?<<=?( char &, char ), ?<<=?( volatile char &, char ); |
---|
| 531 | char signed ?<<=?( char signed &, char signed ), ?<<=?( volatile char signed &, char signed ); |
---|
| 532 | char unsigned ?<<=?( char unsigned &, char unsigned ), ?<<=?( volatile char unsigned &, char unsigned ); |
---|
| 533 | int short ?<<=?( int short &, int short ), ?<<=?( volatile int short &, int short ); |
---|
| 534 | int short unsigned ?<<=?( int short unsigned &, int short unsigned ), ?<<=?( volatile int short unsigned &, int short unsigned ); |
---|
| 535 | signed int ?<<=?( signed int &, signed int ), ?<<=?( volatile signed int &, signed int ); |
---|
| 536 | unsigned int ?<<=?( unsigned &, unsigned ), ?<<=?( volatile unsigned &, unsigned ); |
---|
| 537 | signed long int ?<<=?( signed long int &, signed long int ), ?<<=?( volatile signed long int &, signed long int ); |
---|
| 538 | unsigned long int ?<<=?( unsigned long int &, unsigned long int ), ?<<=?( volatile unsigned long int &, unsigned long int ); |
---|
| 539 | signed long long int ?<<=?( signed long long int &, signed long long int ), ?<<=?( volatile signed long long int &, signed long long int ); |
---|
| 540 | unsigned long long int ?<<=?( unsigned long long int &, unsigned long long int ), ?<<=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 541 | |
---|
| 542 | char ?>>=?( char &, char ), ?>>=?( volatile char &, char ); |
---|
| 543 | char signed ?>>=?( char signed &, char signed ), ?>>=?( volatile char signed &, char signed ); |
---|
| 544 | char unsigned ?>>=?( char unsigned &, char unsigned ), ?>>=?( volatile char unsigned &, char unsigned ); |
---|
| 545 | int short ?>>=?( int short &, int short ), ?>>=?( volatile int short &, int short ); |
---|
| 546 | int short unsigned ?>>=?( int short unsigned &, int short unsigned ), ?>>=?( volatile int short unsigned &, int short unsigned ); |
---|
| 547 | signed int ?>>=?( signed int &, signed int ), ?>>=?( volatile signed int &, signed int ); |
---|
| 548 | unsigned int ?>>=?( unsigned &, unsigned ), ?>>=?( volatile unsigned &, unsigned ); |
---|
| 549 | signed long int ?>>=?( signed long int &, signed long int ), ?>>=?( volatile signed long int &, signed long int ); |
---|
| 550 | unsigned long int ?>>=?( unsigned long int &, unsigned long int ), ?>>=?( volatile unsigned long int &, unsigned long int ); |
---|
| 551 | signed long long int ?>>=?( signed long long int &, signed long long int ), ?>>=?( volatile signed long long int &, signed long long int ); |
---|
| 552 | unsigned long long int ?>>=?( unsigned long long int &, unsigned long long int ), ?>>=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 553 | |
---|
| 554 | _Bool ?&=?( _Bool &, _Bool ), ?&=?( volatile _Bool &, _Bool ); |
---|
| 555 | char ?&=?( char &, char ), ?&=?( volatile char &, char ); |
---|
| 556 | char signed ?&=?( char signed &, char signed ), ?&=?( volatile char signed &, char signed ); |
---|
| 557 | char unsigned ?&=?( char unsigned &, char unsigned ), ?&=?( volatile char unsigned &, char unsigned ); |
---|
| 558 | int short ?&=?( int short &, int short ), ?&=?( volatile int short &, int short ); |
---|
| 559 | int short unsigned ?&=?( int short unsigned &, int short unsigned ), ?&=?( volatile int short unsigned &, int short unsigned ); |
---|
| 560 | signed int ?&=?( signed int &, signed int ), ?&=?( volatile signed int &, signed int ); |
---|
| 561 | unsigned int ?&=?( unsigned &, unsigned ), ?&=?( volatile unsigned &, unsigned ); |
---|
| 562 | signed long int ?&=?( signed long int &, signed long int ), ?&=?( volatile signed long int &, signed long int ); |
---|
| 563 | unsigned long int ?&=?( unsigned long int &, unsigned long int ), ?&=?( volatile unsigned long int &, unsigned long int ); |
---|
| 564 | signed long long int ?&=?( signed long long int &, signed long long int ), ?&=?( volatile signed long long int &, signed long long int ); |
---|
| 565 | unsigned long long int ?&=?( unsigned long long int &, unsigned long long int ), ?&=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 566 | |
---|
| 567 | _Bool ?|=?( _Bool &, _Bool ), ?|=?( volatile _Bool &, _Bool ); |
---|
| 568 | char ?|=?( char &, char ), ?|=?( volatile char &, char ); |
---|
| 569 | char signed ?|=?( char signed &, char signed ), ?|=?( volatile char signed &, char signed ); |
---|
| 570 | char unsigned ?|=?( char unsigned &, char unsigned ), ?|=?( volatile char unsigned &, char unsigned ); |
---|
| 571 | int short ?|=?( int short &, int short ), ?|=?( volatile int short &, int short ); |
---|
| 572 | int short unsigned ?|=?( int short unsigned &, int short unsigned ), ?|=?( volatile int short unsigned &, int short unsigned ); |
---|
| 573 | signed int ?|=?( signed int &, signed int ), ?|=?( volatile signed int &, signed int ); |
---|
| 574 | unsigned int ?|=?( unsigned &, unsigned ), ?|=?( volatile unsigned &, unsigned ); |
---|
| 575 | signed long int ?|=?( signed long int &, signed long int ), ?|=?( volatile signed long int &, signed long int ); |
---|
| 576 | unsigned long int ?|=?( unsigned long int &, unsigned long int ), ?|=?( volatile unsigned long int &, unsigned long int ); |
---|
| 577 | signed long long int ?|=?( signed long long int &, signed long long int ), ?|=?( volatile signed long long int &, signed long long int ); |
---|
| 578 | unsigned long long int ?|=?( unsigned long long int &, unsigned long long int ), ?|=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 579 | |
---|
| 580 | _Bool ?^=?( _Bool &, _Bool ), ?^=?( volatile _Bool &, _Bool ); |
---|
| 581 | char ?^=?( char &, char ), ?^=?( volatile char &, char ); |
---|
| 582 | char signed ?^=?( char signed &, char signed ), ?^=?( volatile char signed &, char signed ); |
---|
| 583 | char unsigned ?^=?( char unsigned &, char unsigned ), ?^=?( volatile char unsigned &, char unsigned ); |
---|
| 584 | int short ?^=?( int short &, int short ), ?^=?( volatile int short &, int short ); |
---|
| 585 | int short unsigned ?^=?( int short unsigned &, int short unsigned ), ?^=?( volatile int short unsigned &, int short unsigned ); |
---|
| 586 | signed int ?^=?( signed int &, signed int ), ?^=?( volatile signed int &, signed int ); |
---|
| 587 | unsigned int ?^=?( unsigned &, unsigned ), ?^=?( volatile unsigned &, unsigned ); |
---|
| 588 | signed long int ?^=?( signed long int &, signed long int ), ?^=?( volatile signed long int &, signed long int ); |
---|
| 589 | unsigned long int ?^=?( unsigned long int &, unsigned long int ), ?^=?( volatile unsigned long int &, unsigned long int ); |
---|
| 590 | signed long long int ?^=?( signed long long int &, signed long long int ), ?^=?( volatile signed long long int &, signed long long int ); |
---|
| 591 | unsigned long long int ?^=?( unsigned long long int &, unsigned long long int ), ?^=?( volatile unsigned long long int &, unsigned long long int ); |
---|
| 592 | |
---|
| 593 | float ?=?( float &, float ), ?=?( volatile float &, float ), |
---|
| 594 | ?*=?( float &, float ), ?*=?( volatile float &, float ), |
---|
| 595 | ?/=?( float &, float ), ?/=?( volatile float &, float ), |
---|
| 596 | ?+=?( float &, float ), ?+=?( volatile float &, float ), |
---|
| 597 | ?-=?( float &, float ), ?-=?( volatile float &, float ); |
---|
| 598 | |
---|
| 599 | double ?=?( double &, double ), ?=?( volatile double &, double ), |
---|
| 600 | ?*=?( double &, double ), ?*=?( volatile double &, double ), |
---|
| 601 | ?/=?( double &, double ), ?/=?( volatile double &, double ), |
---|
| 602 | ?+=?( double &, double ), ?+=?( volatile double &, double ), |
---|
| 603 | ?-=?( double &, double ), ?-=?( volatile double &, double ); |
---|
| 604 | |
---|
| 605 | long double ?=?( long double &, long double ), ?=?( volatile long double &, long double ), |
---|
| 606 | ?*=?( long double &, long double ), ?*=?( volatile long double &, long double ), |
---|
| 607 | ?/=?( long double &, long double ), ?/=?( volatile long double &, long double ), |
---|
| 608 | ?+=?( long double &, long double ), ?+=?( volatile long double &, long double ), |
---|
| 609 | ?-=?( long double &, long double ), ?-=?( volatile long double &, long double ); |
---|
| 610 | |
---|
| 611 | float _Complex ?=?( float _Complex &, float _Complex ), ?=?( volatile float _Complex &, float _Complex ), |
---|
| 612 | ?*=?( float _Complex &, float _Complex ), ?*=?( volatile float _Complex &, float _Complex ), |
---|
| 613 | ?/=?( float _Complex &, float _Complex ), ?/=?( volatile float _Complex &, float _Complex ), |
---|
| 614 | ?+=?( float _Complex &, float _Complex ), ?+=?( volatile float _Complex &, float _Complex ), |
---|
| 615 | ?-=?( float _Complex &, float _Complex ), ?-=?( volatile float _Complex &, float _Complex ); |
---|
| 616 | |
---|
| 617 | double _Complex ?=?( double _Complex &, double _Complex ), ?=?( volatile double _Complex &, double _Complex ), |
---|
| 618 | ?*=?( double _Complex &, double _Complex ), ?*=?( volatile double _Complex &, double _Complex ), |
---|
| 619 | ?/=?( double _Complex &, double _Complex ), ?/=?( volatile double _Complex &, double _Complex ), |
---|
| 620 | ?+=?( double _Complex &, double _Complex ), ?+=?( volatile double _Complex &, double _Complex ), |
---|
| 621 | ?-=?( double _Complex &, double _Complex ), ?-=?( volatile double _Complex &, double _Complex ); |
---|
| 622 | |
---|
| 623 | long double _Complex ?=?( long double _Complex &, long double _Complex ), ?=?( volatile long double _Complex &, long double _Complex ), |
---|
| 624 | ?*=?( long double _Complex &, long double _Complex ), ?*=?( volatile long double _Complex &, long double _Complex ), |
---|
| 625 | ?/=?( long double _Complex &, long double _Complex ), ?/=?( volatile long double _Complex &, long double _Complex ), |
---|
| 626 | ?+=?( long double _Complex &, long double _Complex ), ?+=?( volatile long double _Complex &, long double _Complex ), |
---|
| 627 | ?-=?( long double _Complex &, long double _Complex ), ?-=?( volatile long double _Complex &, long double _Complex ); |
---|
[f1e012b] | 628 | |
---|
| 629 | |
---|
| 630 | // ------------------------------------------------------------ |
---|
| 631 | // |
---|
| 632 | // Section ??? Constructors and Destructors |
---|
| 633 | // |
---|
| 634 | // ------------------------------------------------------------ |
---|
| 635 | |
---|
| 636 | // default ctor |
---|
[469f709] | 637 | void ?{}( _Bool & ); |
---|
| 638 | void ?{}( char & ); |
---|
| 639 | void ?{}( unsigned char & ); |
---|
| 640 | void ?{}( char signed & ); |
---|
| 641 | void ?{}( int short & ); |
---|
| 642 | void ?{}( int short unsigned & ); |
---|
| 643 | void ?{}( signed int & ); |
---|
| 644 | void ?{}( unsigned int & ); |
---|
| 645 | void ?{}( signed long int & ); |
---|
| 646 | void ?{}( unsigned long int & ); |
---|
| 647 | void ?{}( signed long long int & ); |
---|
| 648 | void ?{}( unsigned long long int & ); |
---|
| 649 | void ?{}( float & ); |
---|
| 650 | void ?{}( double & ); |
---|
| 651 | void ?{}( long double & ); |
---|
| 652 | void ?{}( float _Complex & ); |
---|
| 653 | void ?{}( double _Complex & ); |
---|
| 654 | void ?{}( long double _Complex & ); |
---|
| 655 | void ?{}( zero_t & ); |
---|
| 656 | void ?{}( one_t & ); |
---|
[f1e012b] | 657 | |
---|
| 658 | // copy ctor |
---|
[469f709] | 659 | void ?{}( _Bool &, _Bool ); |
---|
| 660 | void ?{}( char &, char ); |
---|
| 661 | void ?{}( unsigned char &, unsigned char ); |
---|
| 662 | void ?{}( char signed &, char signed ); |
---|
| 663 | void ?{}( int short &, int short ); |
---|
| 664 | void ?{}( int short unsigned &, int short unsigned ); |
---|
| 665 | void ?{}( signed int &, signed int); |
---|
| 666 | void ?{}( unsigned int &, unsigned int); |
---|
| 667 | void ?{}( signed long int &, signed long int); |
---|
| 668 | void ?{}( unsigned long int &, unsigned long int); |
---|
| 669 | void ?{}( signed long long int &, signed long long int); |
---|
| 670 | void ?{}( unsigned long long int &, unsigned long long int); |
---|
| 671 | void ?{}( float &, float); |
---|
| 672 | void ?{}( double &, double); |
---|
| 673 | void ?{}( long double &, long double); |
---|
| 674 | void ?{}( float _Complex &, float _Complex); |
---|
| 675 | void ?{}( double _Complex &, double _Complex); |
---|
| 676 | void ?{}( long double _Complex &, long double _Complex); |
---|
| 677 | void ?{}( zero_t &, zero_t ); |
---|
| 678 | void ?{}( one_t &, one_t ); |
---|
[f1e012b] | 679 | |
---|
| 680 | // dtor |
---|
[469f709] | 681 | void ^?{}( _Bool & ); |
---|
| 682 | void ^?{}( char & ); |
---|
| 683 | void ^?{}( char unsigned & ); |
---|
| 684 | void ^?{}( char signed & ); |
---|
| 685 | void ^?{}( int short & ); |
---|
| 686 | void ^?{}( int short unsigned & ); |
---|
| 687 | void ^?{}( signed int & ); |
---|
| 688 | void ^?{}( unsigned int & ); |
---|
| 689 | void ^?{}( signed long int & ); |
---|
| 690 | void ^?{}( unsigned long int & ); |
---|
| 691 | void ^?{}( signed long long int & ); |
---|
| 692 | void ^?{}( unsigned long long int & ); |
---|
| 693 | void ^?{}( float & ); |
---|
| 694 | void ^?{}( double & ); |
---|
| 695 | void ^?{}( long double & ); |
---|
| 696 | void ^?{}( float _Complex & ); |
---|
| 697 | void ^?{}( double _Complex & ); |
---|
| 698 | void ^?{}( long double _Complex & ); |
---|
| 699 | void ^?{}( zero_t & ); |
---|
| 700 | void ^?{}( one_t & ); |
---|
[f1e012b] | 701 | |
---|
| 702 | // // default ctor |
---|
| 703 | // forall( dtype DT ) void ?{}( DT ** ); |
---|
| 704 | // forall( dtype DT ) void ?{}( const DT ** ); |
---|
| 705 | // forall( dtype DT ) void ?{}( volatile DT ** ); |
---|
| 706 | // forall( dtype DT ) void ?{}( const volatile DT ** ); |
---|
| 707 | |
---|
| 708 | // // copy ctor |
---|
| 709 | // forall( dtype DT ) void ?{}( DT **, DT* ); |
---|
| 710 | // forall( dtype DT ) void ?{}( const DT **, DT* ); |
---|
| 711 | // forall( dtype DT ) void ?{}( volatile DT **, DT* ); |
---|
| 712 | // forall( dtype DT ) void ?{}( const volatile DT **, DT* ); |
---|
| 713 | |
---|
| 714 | // // dtor |
---|
| 715 | // forall( dtype DT ) void ^?{}( DT ** ); |
---|
| 716 | // forall( dtype DT ) void ^?{}( const DT ** ); |
---|
| 717 | // forall( dtype DT ) void ^?{}( volatile DT ** ); |
---|
| 718 | // forall( dtype DT ) void ^?{}( const volatile DT ** ); |
---|
| 719 | |
---|
| 720 | // copied from assignment section |
---|
| 721 | // copy constructors |
---|
[469f709] | 722 | forall( ftype FT ) void ?{}( FT *&, FT * ); |
---|
| 723 | forall( ftype FT ) void ?{}( FT * volatile &, FT * ); |
---|
| 724 | |
---|
[fd54fef] | 725 | forall( DT & ) void ?{}( DT * &, DT * ); |
---|
| 726 | forall( DT & ) void ?{}( const DT * &, DT * ); |
---|
| 727 | forall( DT & ) void ?{}( const DT * &, const DT * ); |
---|
| 728 | forall( DT & ) void ?{}( volatile DT * &, DT * ); |
---|
| 729 | forall( DT & ) void ?{}( volatile DT * &, volatile DT * ); |
---|
| 730 | forall( DT & ) void ?{}( const volatile DT * &, DT * ); |
---|
| 731 | forall( DT & ) void ?{}( const volatile DT * &, const DT * ); |
---|
| 732 | forall( DT & ) void ?{}( const volatile DT * &, volatile DT * ); |
---|
| 733 | forall( DT & ) void ?{}( const volatile DT * &, const volatile DT * ); |
---|
| 734 | |
---|
| 735 | forall( DT & ) void ?{}( void * &, DT * ); |
---|
| 736 | forall( DT & ) void ?{}( const void * &, DT * ); |
---|
| 737 | forall( DT & ) void ?{}( const void * &, const DT * ); |
---|
| 738 | forall( DT & ) void ?{}( volatile void * &, DT * ); |
---|
| 739 | forall( DT & ) void ?{}( volatile void * &, volatile DT * ); |
---|
| 740 | forall( DT & ) void ?{}( const volatile void * &, DT * ); |
---|
| 741 | forall( DT & ) void ?{}( const volatile void * &, const DT * ); |
---|
| 742 | forall( DT & ) void ?{}( const volatile void * &, volatile DT * ); |
---|
| 743 | forall( DT & ) void ?{}( const volatile void * &, const volatile DT * ); |
---|
[469f709] | 744 | |
---|
[bf30ab3] | 745 | //forall( dtype DT ) void ?{}( DT * &, zero_t ); |
---|
| 746 | //forall( dtype DT ) void ?{}( DT * volatile &, zero_t ); |
---|
[fd54fef] | 747 | forall( DT & ) void ?{}( const DT * &, zero_t ); |
---|
[bf30ab3] | 748 | //forall( dtype DT ) void ?{}( volatile DT * &, zero_t ); |
---|
| 749 | //forall( dtype DT ) void ?{}( volatile DT * volatile &, zero_t ); |
---|
[fd54fef] | 750 | forall( DT & ) void ?{}( const volatile DT * &, zero_t ); |
---|
[469f709] | 751 | |
---|
[5ccb10d] | 752 | forall( ftype FT ) void ?{}( FT * &, zero_t ); |
---|
[f1e012b] | 753 | |
---|
| 754 | // default ctors |
---|
[469f709] | 755 | forall( ftype FT ) void ?{}( FT * & ); |
---|
[f1e012b] | 756 | |
---|
[fd54fef] | 757 | forall( DT & ) void ?{}( DT * &); |
---|
| 758 | forall( DT & ) void ?{}( const DT * &); |
---|
| 759 | forall( DT & ) void ?{}( volatile DT * &); |
---|
| 760 | forall( DT & ) void ?{}( const volatile DT * &); |
---|
[f1e012b] | 761 | |
---|
[469f709] | 762 | void ?{}( void * &); |
---|
| 763 | void ?{}( const void * &); |
---|
| 764 | void ?{}( volatile void * &); |
---|
| 765 | void ?{}( const volatile void * &); |
---|
[f1e012b] | 766 | |
---|
| 767 | // dtors |
---|
[469f709] | 768 | forall( ftype FT ) void ^?{}( FT * & ); |
---|
[f1e012b] | 769 | |
---|
[fd54fef] | 770 | forall( DT & ) void ^?{}( DT * &); |
---|
| 771 | forall( DT & ) void ^?{}( const DT * &); |
---|
| 772 | forall( DT & ) void ^?{}( volatile DT * &); |
---|
| 773 | forall( DT & ) void ^?{}( const volatile DT * &); |
---|
[f1e012b] | 774 | |
---|
[8053d2c] | 775 | void ^?{}( void * &); |
---|
| 776 | void ^?{}( const void * &); |
---|
| 777 | void ^?{}( volatile void * &); |
---|
| 778 | void ^?{}( const volatile void * &); |
---|
[a6151ba] | 779 | |
---|
| 780 | // Local Variables: // |
---|
| 781 | // mode: c // |
---|
| 782 | // tab-width: 8 // |
---|
| 783 | // End: // |
---|