ITK  4.13.0
Insight Segmentation and Registration Toolkit
ITK_COMPILER_INFO_SunPro_CXX.h
Go to the documentation of this file.
1 /*=========================================================================
2  *
3  * Copyright Insight Software Consortium
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  * http://www.apache.org/licenses/LICENSE-2.0.txt
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  *
17  *=========================================================================*/
18 #ifndef ITK_COMPILER_INFO_SunPro_CXX_h
19 #define ITK_COMPILER_INFO_SunPro_CXX_h
20 #ifndef itk_compiler_detection_h
21 # error This file may only be included from itk_compiler_detection.h
22 #endif
23 
24 # if !(__SUNPRO_CC >= 0x5130)
25 # error Unsupported compiler version
26 # endif
27 
28 # if __SUNPRO_CC >= 0x5100
29  /* __SUNPRO_CC = 0xVRRP */
30 # define ITK_COMPILER_VERSION_MAJOR ITK_HEX(__SUNPRO_CC>>12)
31 # define ITK_COMPILER_VERSION_MINOR ITK_HEX(__SUNPRO_CC>>4 & 0xFF)
32 # define ITK_COMPILER_VERSION_PATCH ITK_HEX(__SUNPRO_CC & 0xF)
33 # else
34  /* __SUNPRO_CC = 0xVRP */
35 # define ITK_COMPILER_VERSION_MAJOR ITK_HEX(__SUNPRO_CC>>8)
36 # define ITK_COMPILER_VERSION_MINOR ITK_HEX(__SUNPRO_CC>>4 & 0xF)
37 # define ITK_COMPILER_VERSION_PATCH ITK_HEX(__SUNPRO_CC & 0xF)
38 # endif
39 
40 # define ITK_COMPILER_CXX_AGGREGATE_DEFAULT_INITIALIZERS 0
41 
42 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
43 # define ITK_COMPILER_CXX_ALIAS_TEMPLATES 1
44 # else
45 # define ITK_COMPILER_CXX_ALIAS_TEMPLATES 0
46 # endif
47 
48 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
49 # define ITK_COMPILER_CXX_ALIGNAS 1
50 # else
51 # define ITK_COMPILER_CXX_ALIGNAS 0
52 # endif
53 
54 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
55 # define ITK_COMPILER_CXX_ALIGNOF 1
56 # else
57 # define ITK_COMPILER_CXX_ALIGNOF 0
58 # endif
59 
60 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
61 # define ITK_COMPILER_CXX_ATTRIBUTES 1
62 # else
63 # define ITK_COMPILER_CXX_ATTRIBUTES 0
64 # endif
65 
66 # define ITK_COMPILER_CXX_ATTRIBUTE_DEPRECATED 0
67 
68 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
69 # define ITK_COMPILER_CXX_AUTO_TYPE 1
70 # else
71 # define ITK_COMPILER_CXX_AUTO_TYPE 0
72 # endif
73 
74 # define ITK_COMPILER_CXX_BINARY_LITERALS 0
75 
76 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
77 # define ITK_COMPILER_CXX_CONSTEXPR 1
78 # else
79 # define ITK_COMPILER_CXX_CONSTEXPR 0
80 # endif
81 
82 # define ITK_COMPILER_CXX_CONTEXTUAL_CONVERSIONS 0
83 
84 # define ITK_COMPILER_CXX_DECLTYPE_INCOMPLETE_RETURN_TYPES 0
85 
86 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
87 # define ITK_COMPILER_CXX_DECLTYPE 1
88 # else
89 # define ITK_COMPILER_CXX_DECLTYPE 0
90 # endif
91 
92 # define ITK_COMPILER_CXX_DECLTYPE_AUTO 0
93 
94 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
95 # define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 1
96 # else
97 # define ITK_COMPILER_CXX_DEFAULT_FUNCTION_TEMPLATE_ARGS 0
98 # endif
99 
100 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
101 # define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 1
102 # else
103 # define ITK_COMPILER_CXX_DEFAULTED_FUNCTIONS 0
104 # endif
105 
106 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
107 # define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 1
108 # else
109 # define ITK_COMPILER_CXX_DEFAULTED_MOVE_INITIALIZERS 0
110 # endif
111 
112 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
113 # define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 1
114 # else
115 # define ITK_COMPILER_CXX_DELEGATING_CONSTRUCTORS 0
116 # endif
117 
118 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
119 # define ITK_COMPILER_CXX_DELETED_FUNCTIONS 1
120 # else
121 # define ITK_COMPILER_CXX_DELETED_FUNCTIONS 0
122 # endif
123 
124 # define ITK_COMPILER_CXX_DIGIT_SEPARATORS 0
125 
126 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
127 # define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 1
128 # else
129 # define ITK_COMPILER_CXX_ENUM_FORWARD_DECLARATIONS 0
130 # endif
131 
132 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
133 # define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 1
134 # else
135 # define ITK_COMPILER_CXX_EXPLICIT_CONVERSIONS 0
136 # endif
137 
138 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
139 # define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 1
140 # else
141 # define ITK_COMPILER_CXX_EXTENDED_FRIEND_DECLARATIONS 0
142 # endif
143 
144 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
145 # define ITK_COMPILER_CXX_EXTERN_TEMPLATES 1
146 # else
147 # define ITK_COMPILER_CXX_EXTERN_TEMPLATES 0
148 # endif
149 
150 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
151 # define ITK_COMPILER_CXX_FINAL 1
152 # else
153 # define ITK_COMPILER_CXX_FINAL 0
154 # endif
155 
156 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
157 # define ITK_COMPILER_CXX_FUNC_IDENTIFIER 1
158 # else
159 # define ITK_COMPILER_CXX_FUNC_IDENTIFIER 0
160 # endif
161 
162 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
163 # define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 1
164 # else
165 # define ITK_COMPILER_CXX_GENERALIZED_INITIALIZERS 0
166 # endif
167 
168 # define ITK_COMPILER_CXX_GENERIC_LAMBDAS 0
169 
170 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
171 # define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 1
172 # else
173 # define ITK_COMPILER_CXX_INHERITING_CONSTRUCTORS 0
174 # endif
175 
176 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
177 # define ITK_COMPILER_CXX_INLINE_NAMESPACES 1
178 # else
179 # define ITK_COMPILER_CXX_INLINE_NAMESPACES 0
180 # endif
181 
182 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
183 # define ITK_COMPILER_CXX_LAMBDAS 1
184 # else
185 # define ITK_COMPILER_CXX_LAMBDAS 0
186 # endif
187 
188 # define ITK_COMPILER_CXX_LAMBDA_INIT_CAPTURES 0
189 
190 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
191 # define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 1
192 # else
193 # define ITK_COMPILER_CXX_LOCAL_TYPE_TEMPLATE_ARGS 0
194 # endif
195 
196 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
197 # define ITK_COMPILER_CXX_LONG_LONG_TYPE 1
198 # else
199 # define ITK_COMPILER_CXX_LONG_LONG_TYPE 0
200 # endif
201 
202 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
203 # define ITK_COMPILER_CXX_NOEXCEPT 1
204 # else
205 # define ITK_COMPILER_CXX_NOEXCEPT 0
206 # endif
207 
208 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
209 # define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 1
210 # else
211 # define ITK_COMPILER_CXX_NONSTATIC_MEMBER_INIT 0
212 # endif
213 
214 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
215 # define ITK_COMPILER_CXX_NULLPTR 1
216 # else
217 # define ITK_COMPILER_CXX_NULLPTR 0
218 # endif
219 
220 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
221 # define ITK_COMPILER_CXX_OVERRIDE 1
222 # else
223 # define ITK_COMPILER_CXX_OVERRIDE 0
224 # endif
225 
226 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
227 # define ITK_COMPILER_CXX_RANGE_FOR 1
228 # else
229 # define ITK_COMPILER_CXX_RANGE_FOR 0
230 # endif
231 
232 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
233 # define ITK_COMPILER_CXX_RAW_STRING_LITERALS 1
234 # else
235 # define ITK_COMPILER_CXX_RAW_STRING_LITERALS 0
236 # endif
237 
238 # define ITK_COMPILER_CXX_REFERENCE_QUALIFIED_FUNCTIONS 0
239 
240 # define ITK_COMPILER_CXX_RELAXED_CONSTEXPR 0
241 
242 # define ITK_COMPILER_CXX_RETURN_TYPE_DEDUCTION 0
243 
244 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
245 # define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 1
246 # else
247 # define ITK_COMPILER_CXX_RIGHT_ANGLE_BRACKETS 0
248 # endif
249 
250 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
251 # define ITK_COMPILER_CXX_RVALUE_REFERENCES 1
252 # else
253 # define ITK_COMPILER_CXX_RVALUE_REFERENCES 0
254 # endif
255 
256 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
257 # define ITK_COMPILER_CXX_SIZEOF_MEMBER 1
258 # else
259 # define ITK_COMPILER_CXX_SIZEOF_MEMBER 0
260 # endif
261 
262 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
263 # define ITK_COMPILER_CXX_STATIC_ASSERT 1
264 # else
265 # define ITK_COMPILER_CXX_STATIC_ASSERT 0
266 # endif
267 
268 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
269 # define ITK_COMPILER_CXX_STRONG_ENUMS 1
270 # else
271 # define ITK_COMPILER_CXX_STRONG_ENUMS 0
272 # endif
273 
274 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
275 # define ITK_COMPILER_CXX_THREAD_LOCAL 1
276 # else
277 # define ITK_COMPILER_CXX_THREAD_LOCAL 0
278 # endif
279 
280 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
281 # define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 1
282 # else
283 # define ITK_COMPILER_CXX_TRAILING_RETURN_TYPES 0
284 # endif
285 
286 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
287 # define ITK_COMPILER_CXX_UNICODE_LITERALS 1
288 # else
289 # define ITK_COMPILER_CXX_UNICODE_LITERALS 0
290 # endif
291 
292 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
293 # define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 1
294 # else
295 # define ITK_COMPILER_CXX_UNIFORM_INITIALIZATION 0
296 # endif
297 
298 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
299 # define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 1
300 # else
301 # define ITK_COMPILER_CXX_UNRESTRICTED_UNIONS 0
302 # endif
303 
304 # define ITK_COMPILER_CXX_USER_LITERALS 0
305 
306 # define ITK_COMPILER_CXX_VARIABLE_TEMPLATES 0
307 
308 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
309 # define ITK_COMPILER_CXX_VARIADIC_MACROS 1
310 # else
311 # define ITK_COMPILER_CXX_VARIADIC_MACROS 0
312 # endif
313 
314 # if (__SUNPRO_CC >= 0x5130) && __cplusplus >= 201103L
315 # define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 1
316 # else
317 # define ITK_COMPILER_CXX_VARIADIC_TEMPLATES 0
318 # endif
319 
320 # if __SUNPRO_CC >= 0x5130 && __cplusplus
321 # define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 1
322 # else
323 # define ITK_COMPILER_CXX_TEMPLATE_TEMPLATE_PARAMETERS 0
324 # endif
325 
326 # if (__SUNPRO_CC >= 0x5140) && __cplusplus >= 201103L
327 # define ITK_COMPILER_CXX_ATOMIC 1
328 # else
329 # define ITK_COMPILER_CXX_ATOMIC 0
330 # endif
331 
332 #endif //ITK_COMPILER_INFO_SunPro_CXX_h