https://llvm.org/bugs/show_bug.cgi?id=23852

            Bug ID: 23852
           Summary: vector of const - push_back fail
           Product: libc++
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: All Bugs
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified

#include <vector>

int main() {
  std::vector<const int> v1;                   // all ok
  std::vector<const int> v2 = {1, 2, 3, 4};    // all ok
  v1.push_back(17);                            // error, why? 
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to