[PATCH] D38059: Rename list::base to list::__base.

David L. Jones via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 19 16:16:03 PDT 2017


dlj created this revision.
Herald added a subscriber: sanjoy.

Even though the base typedef is private, it still participates in lookup. For example:

  void base() {}
  struct X : private std::list<int> {
    X() { base(); }
  };


https://reviews.llvm.org/D38059

Files:
  include/list

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38059.115920.patch
Type: text/x-patch
Size: 26125 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20170919/b339f756/attachment-0001.bin>


More information about the cfe-commits mailing list