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 //*************************************************************************************************
57 #if defined(__INTEL_COMPILER) || defined(__ICL) || defined(__ICC) || defined(__ECC)
58 # define BLAZE_DECLTYPE_AUTO(VAR,EXPR) decltype( EXPR ) VAR( EXPR )
59 #else
60 # define BLAZE_DECLTYPE_AUTO(VAR,EXPR) decltype(auto) VAR( EXPR )
61 #endif
62 
63 //*************************************************************************************************
64 
65 #endif