[LLVMbugs] [Bug 17701] Compilation failure for std::map iterator member variable
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sat Oct 26 12:23:03 PDT 2013
http://llvm.org/bugs/show_bug.cgi?id=17701
David Majnemer <david.majnemer at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
CC| |david.majnemer at gmail.com
Resolution|--- |INVALID
--- Comment #1 from David Majnemer <david.majnemer at gmail.com> ---
This is undefined behavior as per the C++ standard.
C++11 17.6.4.8 [res.on.functions]/p2:
In particular, the effects are undefined in the following cases:
- ...
- if an incomplete type (3.9) is used as a template argument when instantiating
a template component, unless specifically allowed for that component.
C++03 17.4.3.6 [lib.res.on.functions]/p2:
In particular, the effects are undefined in the following cases:
- ...
- if an incomplete type (3.9) is used as a template argument when instantiating
a template component.
--
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/20131026/616bb7c6/attachment.html>
More information about the llvm-bugs
mailing list