EFNet #C++ Website EFNet #C++ Tutorials
C++ Terms, Concepts, and Definitions
by Roger Pate <Rog at NotNow dot com> (Kniht on EFnet)
(more to come)

Bitmask Types

Defined in the C++ standard under [lib.bitmask.types] 17.3.2.1.2 Bitmask types.

This is a concept describing types that fit the common notion of what can be used for flag or mode objects. The built-in integer types meet the requirements, but so does a bitset, or other types (such as an enum) provided they have the correct operators overloaded.


References

(in alphabetical order)

Comments:

Please send any comments or corrections to Roger Pate <Rog at NotNow dot com>