diff options
author | Lioncash <mathew1800@gmail.com> | 2019-03-07 16:32:10 -0500 |
---|---|---|
committer | Lioncash <mathew1800@gmail.com> | 2019-03-07 17:05:44 -0500 |
commit | e99a14862841841d74be8d0ea9426c2d23546b5e (patch) | |
tree | 60c2fb5b76547165dd900a82179577b08b4ff7f5 /.travis.yml | |
parent | 3b63a46ca4dd515ccbf376e9fb4a4afed077b616 (diff) |
common/bit_field: Make BitField trivially copyable
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.
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions