Application Security Testing: An Integral Part of DevOps
Environment: Visual C++ 6, Windows 95/98/Me/NT/2000/XP
CBitArray behaves like a specialization of the MFC
CArray. A real specialization is not possible
because of a missing simple data type for a bit.
unsigned longs. You can easily modify the type of the date containing the bits (see
typedef ULONG Tin the declaration of
CBitArrayimplements all member functions of the MFC class including the operator function
(both for l-values and r-values).
The private member functions
X are derived from the same-named functions of the class
bitstring written by P.J. Plauger and are published with
permission of the author.
DownloadsDownload demo project - 23 Kb
Download source - 4 Kb