[LLVMbugs] [Bug 15576] vector<T1, allocator<T2>> fails to compile

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jan 16 10:27:05 PST 2014


Howard Hinnant <hhinnant at apple.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|---                         |INVALID

--- Comment #4 from Howard Hinnant <hhinnant at apple.com> ---
Table 99 Allocator-aware container requirements.

First row:

Requires:  allocator_type::value_type is the same as X::value_type.

Violating this requirement results in undefined behavior.  libc++ catches this
undefined behavior with a well-worded compile time error message.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20140116/527fba2d/attachment.html>

More information about the llvm-bugs mailing list