Unravel Engine C++ Reference
Loading...
Searching...
No Matches
bitflags.hpp File Reference

Go to the source code of this file.

Namespaces

namespace  bits
 

Functions

template<typename T >
static auto bits::get_bit (T val, unsigned int bit) noexcept
 
template<typename T >
static auto bits::get_bit_range (T val, unsigned int offset, unsigned int length) noexcept
 
template<typename T >
static void bits::set_bit (T &val, unsigned int bit) noexcept
 
template<typename T >
static void bits::clear_bit (T &val, unsigned int bit) noexcept
 
template<typename T >
static void bits::set_bit_flag (T &val, T flag) noexcept
 
template<typename T >
static void bits::clear_bit_flag (T &val, T flag) noexcept
 
template<typename T >
static auto bits::check_bit_flag (T value, T flag) noexcept
 
static auto bits::get_low_nibble (unsigned char value) noexcept
 
static auto bits::get_high_nibble (unsigned char value) noexcept