All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Inline.h
Go to the documentation of this file.
1 //=================================================================================================
33 //=================================================================================================
34 
35 #ifndef _BLAZE_SYSTEM_INLINE_H_
36 #define _BLAZE_SYSTEM_INLINE_H_
37 
38 
39 //=================================================================================================
40 //
41 // INLINE SETTINGS
42 //
43 //=================================================================================================
44 
45 #include <blaze/config/Inline.h>
46 
47 
48 
49 
50 //=================================================================================================
51 //
52 // BLAZE_STRONG_INLINE KEYWORD
53 //
54 //=================================================================================================
55 
56 //*************************************************************************************************
61 #if BLAZE_USE_STRONG_INLINE && ( defined(_MSC_VER) || defined(__INTEL_COMPILER) )
62 # define BLAZE_STRONG_INLINE __forceinline
63 #else
64 # define BLAZE_STRONG_INLINE inline
65 #endif
66 //*************************************************************************************************
67 
68 
69 
70 
71 //=================================================================================================
72 //
73 // BLAZE_ALWAYS_INLINE KEYWORD
74 //
75 //=================================================================================================
76 
77 //*************************************************************************************************
82 #if BLAZE_USE_ALWAYS_INLINE && defined(__GNUC__)
83 # define BLAZE_ALWAYS_INLINE __attribute__((always_inline)) inline
84 #else
85 # define BLAZE_ALWAYS_INLINE BLAZE_STRONG_INLINE
86 #endif
87 //*************************************************************************************************
88 
89 #endif
Configuration of the inline policy of the Blaze library.