All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Clear.h
Go to the documentation of this file.
1 //=================================================================================================
20 //=================================================================================================
21 
22 #ifndef _BLAZE_MATH_SHIMS_CLEAR_H_
23 #define _BLAZE_MATH_SHIMS_CLEAR_H_
24 
25 
26 namespace blaze {
27 
28 //=================================================================================================
29 //
30 // CLEAR SHIM
31 //
32 //=================================================================================================
33 
34 //*************************************************************************************************
44 template< typename Type >
45 inline void clear( Type& clearable )
46 {
47  clearable = Type(0);
48 }
49 //*************************************************************************************************
50 
51 } // namespace blaze
52 
53 #endif