VBVX 0.1.0
Header-only C++23 library for safe, zero-copy parsing of packet buffers.
Loading...
Searching...
No Matches
flags_view.hxx File Reference
#include <concepts>
#include <type_traits>

Go to the source code of this file.

Classes

struct  vbvx::enable_bitmask_operators< _Tp >
 Enable bitwise operators for an enum class. More...
class  vbvx::FlagsView< BitmaskEnum >
 A zero-copy mutable view for a bitmask enum. More...
class  vbvx::ConstFlagsView< BitmaskEnum >
 A zero-copy const view for a bitmask enum. More...

Namespaces

namespace  vbvx

Functions

template<typename E>
constexpr E vbvx::operator| (E lhs, E rhs)
template<typename E>
constexpr E vbvx::operator& (E lhs, E rhs)
template<typename E>
constexpr E vbvx::operator^ (E lhs, E rhs)
template<typename E>
constexpr E vbvx::operator~ (E val)
template<typename E>
constexpr E & vbvx::operator|= (E &lhs, E rhs)
template<typename E>
constexpr E & vbvx::operator&= (E &lhs, E rhs)
template<typename E>
constexpr E & vbvx::operator^= (E &lhs, E rhs)
template<typename E, std::integral U>
constexpr E vbvx::operator<< (E lhs, U shift)
template<typename E, std::integral U>
constexpr E vbvx::operator>> (E lhs, U shift)

Variables

template<typename _Tp>
constexpr bool vbvx::enable_bitmask_operators_v