fork(52) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. struct RGB {
  5. unsigned char r;
  6. unsigned char g;
  7. unsigned char b;
  8. };
  9.  
  10. struct RGBA : RGB {
  11. unsigned char a;
  12. };
  13.  
  14. int main()
  15. {
  16.  
  17. std::cout << std::boolalpha;
  18. std::cout << std::is_pod<RGBA>::value << '\n';
  19.  
  20. return 0;
  21.  
  22. }
Success #stdin #stdout 0s 3296KB
stdin
Standard input is empty
stdout
false