<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - std::get for tuple should be declared before struct TupleHash is defined"
href="https://bugs.webkit.org/show_bug.cgi?id=169769#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - std::get for tuple should be declared before struct TupleHash is defined"
href="https://bugs.webkit.org/show_bug.cgi?id=169769">bug 169769</a>
from <span class="vcard"><a class="email" href="mailto:Yoshiaki.Jitsukawa@sony.com" title="Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa@sony.com>"> <span class="fn">Yoshiaki Jitsukawa</span></a>
</span></b>
<pre>#include <utility>
template <typename T>
auto myget(const T& t)
{
return std::get<0>(t);
}
#include <tuple>
int foo()
{
return myget(std::tuple<int, int, int>(1, 2, 3));
}
---
Here's a simplified code which causes a compilation error with clang while MSVC is ok.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>