mirror of
https://github.com/Neargye/magic_enum.git
synced 2026-01-10 23:44:29 +00:00
wip
This commit is contained in:
parent
d525acae66
commit
e2578822ed
1 changed files with 5 additions and 5 deletions
|
|
@ -1047,7 +1047,9 @@ template <typename E, bool Strict = false>
|
|||
return enum_cast<D, Strict>(value).has_value();
|
||||
}
|
||||
|
||||
namespace ostream_operators {
|
||||
} // namespace magic_enum::flags
|
||||
|
||||
namespace flags::ostream_operators {
|
||||
|
||||
template <typename Char, typename Traits, typename E, detail::enable_if_enum_flags_t<E, int> = 0>
|
||||
std::basic_ostream<Char, Traits>& operator<<(std::basic_ostream<Char, Traits>& os, E value) {
|
||||
|
|
@ -1076,14 +1078,12 @@ std::basic_ostream<Char, Traits>& operator<<(std::basic_ostream<Char, Traits>& o
|
|||
|
||||
} // namespace magic_enum::flags::ostream_operators
|
||||
|
||||
namespace bitwise_operators {
|
||||
namespace flags::bitwise_operators {
|
||||
|
||||
using namespace magic_enum::bitwise_operators;
|
||||
|
||||
} // namespace magic_enum::flags::bitwise_operators
|
||||
|
||||
} // namespace magic_enum::flags
|
||||
|
||||
} // namespace magic_enum
|
||||
|
||||
#if defined(__clang__)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue