fork(7) download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. namespace ns {
  5. class A {};
  6. class B {};
  7. }
  8.  
  9. struct C {
  10. typedef ns::A* ns::B::* type;
  11. };
  12.  
  13. int main() {
  14. C::type t;
  15. // your code goes here
  16. return 0;
  17. }
Success #stdin #stdout 0s 3452KB
stdin
Standard input is empty
stdout
Standard output is empty