fork download
  1. #include <iostream>
  2.  
  3. struct foo {
  4.  
  5. std::string a;
  6. bool b;
  7. bool c;
  8. } bar;
  9.  
  10. int main()
  11. {
  12. std::cout << bar.a.empty() << std::endl;
  13. return 0;
  14. }
Success #stdin #stdout 0.01s 5284KB
stdin
Standard input is empty
stdout
1