#ifndef LLVM_LIBC_SRC___SUPPORT_CPP_CSTDDEF_H
#define LLVM_LIBC_SRC___SUPPORT_CPP_CSTDDEF_H
#include "src/__support/macros/attributes.h"
#include "src/__support/macros/config.h"
#include "type_traits.h"
namespace LIBC_NAMESPACE_DECL {
namespace cpp {
enum class byte : unsigned char { … };
template <class IntegerType>
LIBC_INLINE constexpr enable_if_t<is_integral_v<IntegerType>, byte>
operator>>(byte b, IntegerType shift) noexcept { … }
template <class IntegerType>
LIBC_INLINE constexpr enable_if_t<is_integral_v<IntegerType>, byte &>
operator>>=(byte &b, IntegerType shift) noexcept { … }
template <class IntegerType>
LIBC_INLINE constexpr enable_if_t<is_integral_v<IntegerType>, byte>
operator<<(byte b, IntegerType shift) noexcept { … }
template <class IntegerType>
LIBC_INLINE constexpr enable_if_t<is_integral_v<IntegerType>, byte &>
operator<<=(byte &b, IntegerType shift) noexcept { … }
LIBC_INLINE constexpr byte operator|(byte l, byte r) noexcept { … }
LIBC_INLINE constexpr byte &operator|=(byte &l, byte r) noexcept { … }
LIBC_INLINE constexpr byte operator&(byte l, byte r) noexcept { … }
LIBC_INLINE constexpr byte &operator&=(byte &l, byte r) noexcept { … }
LIBC_INLINE constexpr byte operator^(byte l, byte r) noexcept { … }
LIBC_INLINE constexpr byte &operator^=(byte &l, byte r) noexcept { … }
LIBC_INLINE constexpr byte operator~(byte b) noexcept { … }
template <typename IntegerType>
LIBC_INLINE constexpr enable_if_t<is_integral_v<IntegerType>, IntegerType>
to_integer(byte b) noexcept { … }
}
}
#endif