DecltypeAuto.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_UTIL_DECLTYPEAUTO_H_
36 #define _BLAZE_UTIL_DECLTYPEAUTO_H_
37 
38 
39 //*************************************************************************************************
40 // Includes
41 //*************************************************************************************************
42 
43 #include <blaze/system/Compiler.h>
44 
45 
46 //*************************************************************************************************
64 #if BLAZE_INTEL_COMPILER
65 # define BLAZE_DECLTYPE_AUTO(VAR,EXPR) decltype( EXPR ) VAR( EXPR )
66 #else
67 # define BLAZE_DECLTYPE_AUTO(VAR,EXPR) decltype(auto) VAR( EXPR )
68 #endif
69 
70 //*************************************************************************************************
71 
72 #endif
Compiler-specific system settings.