[Webkit-unassigned] [Bug 169769] std::get for tuple should be declared before struct TupleHash is defined

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Mar 17 08:05:52 PDT 2017


--- Comment #5 from Yoshiaki Jitsukawa <Yoshiaki.Jitsukawa at sony.com> ---
#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.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20170317/fbfed4b0/attachment.html>

More information about the webkit-unassigned mailing list