fork download
  1. #include <memory>
  2.  
  3. class A
  4. {
  5. int a;
  6. };
  7.  
  8. int main()
  9. {
  10. int A::* member;
  11. std::shared_ptr<A> a;
  12. *a.*member;
  13. return 0;
  14. }
Success #stdin #stdout 0s 2848KB
stdin
Standard input is empty
stdout
Standard output is empty