Go to the documentation of this file.
252 #if(GLM_COMPILER & GLM_COMPILER_GCC)
254 # define GLM_CXX11_STATIC_ASSERT
256 #elif(GLM_COMPILER & GLM_COMPILER_CLANG)
257 # if(__has_feature(cxx_exceptions))
258 # define GLM_CXX98_EXCEPTIONS
261 # if(__has_feature(cxx_rtti))
262 # define GLM_CXX98_RTTI
265 # if(__has_feature(cxx_access_control_sfinae))
266 # define GLM_CXX11_ACCESS_CONTROL_SFINAE
269 # if(__has_feature(cxx_alias_templates))
270 # define GLM_CXX11_ALIAS_TEMPLATE
273 # if(__has_feature(cxx_alignas))
274 # define GLM_CXX11_ALIGNAS
277 # if(__has_feature(cxx_attributes))
278 # define GLM_CXX11_ATTRIBUTES
281 # if(__has_feature(cxx_constexpr))
282 # define GLM_CXX11_CONSTEXPR
285 # if(__has_feature(cxx_decltype))
286 # define GLM_CXX11_DECLTYPE
289 # if(__has_feature(cxx_default_function_template_args))
290 # define GLM_CXX11_DEFAULT_FUNCTION_TEMPLATE_ARGS
293 # if(__has_feature(cxx_defaulted_functions))
294 # define GLM_CXX11_DEFAULTED_FUNCTIONS
297 # if(__has_feature(cxx_delegating_constructors))
298 # define GLM_CXX11_DELEGATING_CONSTRUCTORS
301 # if(__has_feature(cxx_deleted_functions))
302 # define GLM_CXX11_DELETED_FUNCTIONS
305 # if(__has_feature(cxx_explicit_conversions))
306 # define GLM_CXX11_EXPLICIT_CONVERSIONS
309 # if(__has_feature(cxx_generalized_initializers))
310 # define GLM_CXX11_GENERALIZED_INITIALIZERS
313 # if(__has_feature(cxx_implicit_moves))
314 # define GLM_CXX11_IMPLICIT_MOVES
317 # if(__has_feature(cxx_inheriting_constructors))
318 # define GLM_CXX11_INHERITING_CONSTRUCTORS
321 # if(__has_feature(cxx_inline_namespaces))
322 # define GLM_CXX11_INLINE_NAMESPACES
325 # if(__has_feature(cxx_lambdas))
326 # define GLM_CXX11_LAMBDAS
329 # if(__has_feature(cxx_local_type_template_args))
330 # define GLM_CXX11_LOCAL_TYPE_TEMPLATE_ARGS
333 # if(__has_feature(cxx_noexcept))
334 # define GLM_CXX11_NOEXCEPT
337 # if(__has_feature(cxx_nonstatic_member_init))
338 # define GLM_CXX11_NONSTATIC_MEMBER_INIT
341 # if(__has_feature(cxx_nullptr))
342 # define GLM_CXX11_NULLPTR
345 # if(__has_feature(cxx_override_control))
346 # define GLM_CXX11_OVERRIDE_CONTROL
349 # if(__has_feature(cxx_reference_qualified_functions))
350 # define GLM_CXX11_REFERENCE_QUALIFIED_FUNCTIONS
353 # if(__has_feature(cxx_range_for))
354 # define GLM_CXX11_RANGE_FOR
357 # if(__has_feature(cxx_raw_string_literals))
358 # define GLM_CXX11_RAW_STRING_LITERALS
361 # if(__has_feature(cxx_rvalue_references))
362 # define GLM_CXX11_RVALUE_REFERENCES
365 # if(__has_feature(cxx_static_assert))
366 # define GLM_CXX11_STATIC_ASSERT
369 # if(__has_feature(cxx_auto_type))
370 # define GLM_CXX11_AUTO_TYPE
373 # if(__has_feature(cxx_strong_enums))
374 # define GLM_CXX11_STRONG_ENUMS
377 # if(__has_feature(cxx_trailing_return))
378 # define GLM_CXX11_TRAILING_RETURN
381 # if(__has_feature(cxx_unicode_literals))
382 # define GLM_CXX11_UNICODE_LITERALS
385 # if(__has_feature(cxx_unrestricted_unions))
386 # define GLM_CXX11_UNRESTRICTED_UNIONS
389 # if(__has_feature(cxx_user_literals))
390 # define GLM_CXX11_USER_LITERALS
393 # if(__has_feature(cxx_variadic_templates))
394 # define GLM_CXX11_VARIADIC_TEMPLATES
397 #endif//(GLM_COMPILER & GLM_COMPILER_CLANG)