fork download
  1. #include <iostream>
  2. #include <thread>
  3. #include <functional>
  4.  
  5. struct z {
  6. void Reader();
  7. };
  8. void z::Reader () {
  9. ;
  10. }
  11. int main() {
  12. z w;
  13. if(false)
  14. std::thread(&decltype(w)::Reader,w);
  15.  
  16. // your code goes here
  17. return 0;
  18. }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty