[PATCH] D10677: Allow deque to handle incomplete types

Evgeniy Stepanov via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 21 18:11:56 PDT 2015


eugenis added a comment.

What kind of confirmation are you looking for?

I've compiled the following code with 2 versions of <deque>: one as in this review, another the same but with __block_size initializers moved back into respective classes. Resulting object files are identical.

#include <deque>

int main() {

  std::deque<int> d;
  d.push_back(1);
  d.push_back(2);
  for (auto x : d) (void)x;
  return d.size();

}


Repository:
  rL LLVM

http://reviews.llvm.org/D10677





More information about the cfe-commits mailing list