mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2025-01-11 17:29:09 +01:00
c47c24bbd2
This makes the class much more flexible and doesn't make performing copies with classes that contain a bitfield member a pain. Given BitField instances are only intended to be used within unions, the fact the full storage value would be copied isn't a big concern (only sizeof(union_type) would be copied anyways). While we're at it, provide defaulted move constructors for consistency.