<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Fri, Sep 18, 2015 at 4:38 AM, Sebastian Theophil via cfe-dev <span dir="ltr"><<a href="mailto:cfe-dev@lists.llvm.org" target="_blank">cfe-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi,<div><br></div><div>This just bit me. In lines 386 and 387 of the utility header, std::addressof should be used:</div><div><br></div><div><pre style="word-wrap:break-word;white-space:pre-wrap">    void
    swap(pair& __p) _NOEXCEPT_(__is_nothrow_swappable<first_type>::value &&
                               __is_nothrow_swappable<second_type>::value)
    {
        _VSTD::iter_swap(&first, &__p.first);
        _VSTD::iter_swap(&second, &__p.second);
    }</pre><pre style="word-wrap:break-word;white-space:pre-wrap"><br></pre></div></div></blockquote><div>Thanks for the bug report; this has been fixed in a better way ;-)</div><div><br></div><div>-- Marshall</div><div> </div></div><br></div></div>