<html>
<head>
<base href="http://llvm.org/bugs/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:david.majnemer@gmail.com" title="David Majnemer <david.majnemer@gmail.com>"> <span class="fn">David Majnemer</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compilation failure for std::map iterator member variable"
href="http://llvm.org/bugs/show_bug.cgi?id=17701">bug 17701</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>david.majnemer@gmail.com
</td>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compilation failure for std::map iterator member variable"
href="http://llvm.org/bugs/show_bug.cgi?id=17701#c1">Comment # 1</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - Compilation failure for std::map iterator member variable"
href="http://llvm.org/bugs/show_bug.cgi?id=17701">bug 17701</a>
from <span class="vcard"><a class="email" href="mailto:david.majnemer@gmail.com" title="David Majnemer <david.majnemer@gmail.com>"> <span class="fn">David Majnemer</span></a>
</span></b>
<pre>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.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>