Structure padding with union members of std::bitset
问题 After I had solved my issue to this question I went on to expand this version of my code to incorporate the unions of the data fields from my previous template versions with this version and I have this so far: main.cpp #include <iostream> #include <type_traits> #include "Register.h" int main() { using namespace vpc; std::cout << std::boolalpha; std::cout << "std::bitset<64> is trivially copyable " << std::is_trivially_copyable<std::bitset<64>>::value << '\n' << "QWord is trivially copyable "