xtd
0.2.0
Loading...
Searching...
No Matches
◆
has_flag()
template<typename enum_t = std::nullptr_t>
bool
xtd::enum_object
< enum_t >::has_flag
(
enum_type
flag
)
const
inline
noexcept
Retrieves an array of the values of the constants in a specified enumeration.
Parameters
flag
An enumeration value.
Returns
true if the bit field or bit fields that are set in flag are also set in the current instance; otherwise, false.
Remarks
The has_flag method returns the result of the following bool expression : this_instance And flag = flag
xtd
enum_object
Generated on Sat Sep 14 2024 21:25:17 for xtd by
Gammasoft
. All rights reserved.