Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
functors
Not.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_FUNCTORS_NOT_H_
36
#define _BLAZE_MATH_FUNCTORS_NOT_H_
37
38
39
//*************************************************************************************************
40
// Includes
41
//*************************************************************************************************
42
43
#include <utility>
44
#include <
blaze/system/Inline.h
>
45
46
47
namespace
blaze {
48
49
//=================================================================================================
50
//
51
// CLASS DEFINITION
52
//
53
//=================================================================================================
54
55
//*************************************************************************************************
59
struct
Not
60
{
61
//**********************************************************************************************
67
template
<
typename
T >
68
BLAZE_ALWAYS_INLINE
decltype
(
auto
)
operator
()( T&& a )
const
69
{
70
return
!std::forward<T>( a );
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::Not
Generic wrapper for the logical NOT operator.
Definition
Not.h:60
Inline.h
System settings for the inline keywords.
Generated by
1.18.0