Blaze
3.9
Toggle main menu visibility
Loading...
Searching...
No Matches
blaze
math
RelaxationFlag.h
Go to the documentation of this file.
1
//=================================================================================================
33
//=================================================================================================
34
35
#ifndef _BLAZE_MATH_RELAXATIONFLAG_H_
36
#define _BLAZE_MATH_RELAXATIONFLAG_H_
37
38
39
namespace
blaze {
40
41
//=================================================================================================
42
//
43
// RELAXATION FLAG
44
//
45
//=================================================================================================
46
47
//*************************************************************************************************
65
enum
RelaxationFlag
:
bool
66
{
67
strict
=
false
,
68
relaxed
=
true
69
};
70
//*************************************************************************************************
71
72
73
//*************************************************************************************************
84
constexpr
RelaxationFlag
operator!
(
RelaxationFlag
flag )
noexcept
85
{
86
return
static_cast<
RelaxationFlag
>
( !
static_cast<
bool
>
( flag ) );
87
}
88
//*************************************************************************************************
89
90
}
// namespace blaze
91
92
#endif
blaze::RelaxationFlag
RelaxationFlag
Relaxation flag for strict or relaxed semantics.
Definition
RelaxationFlag.h:66
blaze::operator!
constexpr AlignmentFlag operator!(AlignmentFlag flag) noexcept
Negating the given alignment flag.
Definition
AlignmentFlag.h:81
blaze::relaxed
@ relaxed
Flag for relaxed semantics.
Definition
RelaxationFlag.h:68
blaze::strict
@ strict
Flag for strict semantics.
Definition
RelaxationFlag.h:67
Generated by
1.18.0