[libcxx-commits] [PATCH] D112660: [libc++] Use addressof in forward_list.

Arthur O'Dwyer via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Oct 27 15:31:32 PDT 2021


Quuxplusone added inline comments.


================
Comment at: libcxx/include/forward_list:183
 #include <__config>
 #include <__utility/forward.h>
 #include <algorithm>
----------------
Mordante wrote:
> Quuxplusone wrote:
> > Consider adding `#include <__memory/addressof.h>` here.
> We already include `<memory>` at line 188 which should provide `addressof`.
Yes, and //certainly// it's included transitively from a lot of places. Just trying to sneak in some granularization. :) No worries.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D112660/new/

https://reviews.llvm.org/D112660



More information about the libcxx-commits mailing list