summaryrefslogtreecommitdiff
path: root/Source/Core/Common/BitField.h
AgeCommit message (Collapse)Author
2015-05-25Update license headers to GPLv2+Tillmann Karras
2015-02-25Formatting/Whitespace CleanupStevoisiak
Various fixes to formatting and whitespace
2015-01-23Fix Intellisense error spam on Visual Studio.magumagu
Intellisense doesn't like defines in PCH files, and it doesn't like the deleted constructor for BitField. (I think it's being overly strict about the "must have no non-default constructors" rule for classes in unions.)
2014-10-24BitField: Fix a typo in the sample usage.Lioncash
2014-06-11BitField: Add an explicit getter function for retrieving the BitField value.Tony Wasserka
Sometimes (in particular when using non-typesafe functions) it can be convenient to have a getter method rather than performing a potentially lengthy explicit cast.
2014-06-11BitField: Delete copy assignment to prevent obscure bugs.Tony Wasserka
2014-04-14BitField: Fix alignment issues.Tony Wasserka
At least one platform (ARM with NEON instructions enabled) generates SIGBUSes if BitField objects aren't aligned properly.
2014-04-13BitField: Optimize generated assembly by forcing inlining.Tony Wasserka
2014-03-25Common: Add a generic class for accessing bitfields in a fast and ↵Tony Wasserka
endianness-independent way. The underlying storage type of a bitfield can be any intrinsic integer type, but also any enumeration. Custom storage types are supported if the following things are defined on the storage type: - casting 0 to the storage type - bit shift operators (in both directions) - bitwise & operator - bitwise ~ operator - std::make_unsigned specialization