fork(4) download
  1. #include <iostream>
  2. #include <type_traits>
  3. using namespace std;
  4.  
  5. struct Q
  6. {
  7. int& i;
  8. };
  9.  
  10. int main() {
  11. std::cout << std::is_pod<int>::value << "\n";
  12. std::cout << std::is_pod<int&>::value << "\n";
  13. std::cout << std::is_pod<Q>::value << "\n";
  14. }
Success #stdin #stdout 0s 3340KB
stdin
Standard input is empty
stdout
1
0
0