facebook / hhvm

A virtual machine for executing programs written in Hack.
https://hhvm.com
Other
18.06k stars 2.99k forks source link

thrift: to stop relying on operator-> #9434

Open DenisYaroshevskiy opened 4 months ago

DenisYaroshevskiy commented 4 months ago

Summary: C++20 supports iterators with no operator-> We have a usecase where I care for that and arrow_proxy trick leads to some undesired behaviour.

In C++23 there is a standard one - std::flat_map::iterator won't have operator->, as far as I understand. (I judge by std::views::zip which doesn't have operator->)

Differential Revision: D53665618

facebook-github-bot commented 4 months ago

This pull request was exported from Phabricator. Differential Revision: D53665618