[libcxx-commits] [PATCH] D132092: [2a/3][ASan][libcxx] std::deque annotations

Alexander Kornienko via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Tue May 30 19:22:30 PDT 2023


alexfh added a comment.

Hi @AdvenamTacet, is it expected that the `std::deque<const T>` can't be compiled after the patch? I couldn't find a clause in the standard that requires deque to have non-const value_type.

Example: https://gcc.godbolt.org/z/sbcvzzbKd

  #include <deque>
  
  std::deque<const int> q;
  std::deque<const int> qq = q;


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D132092



More information about the libcxx-commits mailing list