Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
functors
RightShiftAssign.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_FUNCTORS_RIGHTSHIFTASSIGN_H_
36
#define _BLAZE_MATH_FUNCTORS_RIGHTSHIFTASSIGN_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <
blaze/system/Inline.h
>
44
45
46
namespace
blaze {
47
48
//=================================================================================================
49
//
50
// CLASS DEFINITION
51
//
52
//=================================================================================================
53
54
//*************************************************************************************************
58
struct
RightShiftAssign
59
{
60
//**********************************************************************************************
67
template
<
typename
T1,
typename
T2 >
68
BLAZE_ALWAYS_INLINE
void
operator()
( T1& a,
const
T2& b )
const
69
{
70
a >>= b;
71
}
72
//**********************************************************************************************
73
};
74
//*************************************************************************************************
75
76
}
// namespace blaze
77
78
#endif
BLAZE_ALWAYS_INLINE
#define BLAZE_ALWAYS_INLINE
Platform dependent setup of an enforced inline keyword.
Definition
Inline.h:85
blaze::RightShiftAssign
Generic wrapper for bitwise right-shift assignment.
Definition
RightShiftAssign.h:59
blaze::RightShiftAssign::operator()
BLAZE_ALWAYS_INLINE void operator()(T1 &a, const T2 &b) const
Performs a bitwise right-shift assignment with the given objects/values.
Definition
RightShiftAssign.h:68
Inline.h
System settings for the inline keywords.
Generated by
1.18.0