fork(2) download
  1. struct Point {
  2. int x;
  3. int y;
  4. int z;
  5. };
  6.  
  7. // does not compile... how to do this without decltype?
  8. int Point::* getX () {
  9. return &Point::x;
  10. }
  11.  
  12. int main() { }
Success #stdin #stdout 0s 3292KB
stdin
Standard input is empty
stdout
Standard output is empty