<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span> changed
<a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - __is_constructible intrinsic does not SFINAE on default member initializers"
href="https://bugs.llvm.org/show_bug.cgi?id=45158">bug 45158</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;">Resolution</td>
<td>---
</td>
<td>INVALID
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>NEW
</td>
<td>RESOLVED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - __is_constructible intrinsic does not SFINAE on default member initializers"
href="https://bugs.llvm.org/show_bug.cgi?id=45158#c3">Comment # 3</a>
on <a class="bz_bug_link
bz_status_RESOLVED bz_closed"
title="RESOLVED INVALID - __is_constructible intrinsic does not SFINAE on default member initializers"
href="https://bugs.llvm.org/show_bug.cgi?id=45158">bug 45158</a>
from <span class="vcard"><a class="email" href="mailto:richard-llvm@metafoo.co.uk" title="Richard Smith <richard-llvm@metafoo.co.uk>"> <span class="fn">Richard Smith</span></a>
</span></b>
<pre>Re <a href="show_bug.cgi?id=45158#c2">comment#2</a>, that's not the same as this issue.
Default member initializers are not parsed until the closing brace of the
outermost enclosing class they're nested within -- the default member
initializer for A is not parsed until we reach the end of DataWithStruct. As a
consequence (in particular, because we can't compute the exception
specification for the default constructor until we've parsed the default member
initializers, and in general we never form a call to a function until after we
know its exception specification), default construction of an `A` fails in the
context of the type of DataWithStruct::t.
So that's not a bug.
Given the original problem is also not a bug, I'm going to resolve this
INVALID. We can reopen it or open a new bug if the committee decides to do
something SFINAE-like for default member initializers.</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>