Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I assumed it reads more or less like:

  Foo *****y;
Or, probably, more like:

  std::unique_ptr<std::unique_ptr<std::unique_ptr<std::unique_ptr<std::unique_ptr<Foo>>>>> y;


Hey, at least you can write ‘>>>>>’ instead of ‘> > > > >’ now. :)


Thanks, I hope this is never needed anywhere, ever.


I suspect it's a deliberately-perverse example, meant only to illustrate how deeply method calls will automatically dereference.


It also dereferences through ~~~&~@~~&~Foo.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: