QuickCppLib 0.10
Eliminate all the tedious hassle when making state-of-the-art C++ 14 - 23 libraries!
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
bitfield.hpp File Reference
#include "config.hpp"
#include <type_traits>

Macros

#define QUICKCPPLIB_BITFIELD_BEGIN(type)   enum bitfield__##type : unsigned
 
#define QUICKCPPLIB_BITFIELD_BEGIN_T(type, UT)   enum bitfield__##type : UT
 
#define QUICKCPPLIB_BITFIELD_END(type)   ;
 

Macro Definition Documentation

◆ QUICKCPPLIB_BITFIELD_BEGIN

#define QUICKCPPLIB_BITFIELD_BEGIN (   type)    enum bitfield__##type : unsigned

◆ QUICKCPPLIB_BITFIELD_BEGIN_T

#define QUICKCPPLIB_BITFIELD_BEGIN_T (   type,
  UT 
)    enum bitfield__##type : UT

◆ QUICKCPPLIB_BITFIELD_END

#define QUICKCPPLIB_BITFIELD_END (   type)    ;