Template Function c4::bm2str(typename std::underlying_type<Enum>::type, char *, size_t, EnumOffsetType)

Function Documentation

template<class Enum>
size_t c4::bm2str(typename std::underlying_type<Enum>::type bits, char *str = nullptr, size_t sz = 0, EnumOffsetType offst = EOFFS_PFX)

convert a bitmask to string. return the number of characters written. To find the needed size, call first with str=nullptr and sz=0