arrow_proxy.h 261 B

1234567891011
  1. /**
  2. * https://quuxplusone.github.io/blog/2019/02/06/arrow-proxy/
  3. */
  4. #pragma once
  5. namespace iterator { namespace detail {
  6. template <typename Reference> struct arrow_proxy {
  7. Reference r;
  8. Reference * operator->() { return std::addressof(r); }
  9. };
  10. }}