Have you considered to test against decay instead of
remove_reference/remove_const? That would be similar to other places
in the standard. (I also believe that your fix actually should be
submitted as an LWG issue)

- Daniel

2016-05-08 13:43 GMT+02:00 Ville Voutilainen <ville.voutilai...@gmail.com>:
> Tested on Linux-PPC64.
>
> 2016-05-08  Ville Voutilainen  <ville.voutilai...@gmail.com>
>
>     Avoid endless run-time recursion for copying single-element
>     tuples where the element type is by-value constructible
>     from any type.
>      * include/std/tuple (_TC<>::_NotSameTuple): New.
>      * include/std/tuple (tuple(_UElements&&...): Use it.
>     * testsuite/20_util/tuple/cons/element_accepts_anything_byval.cc: New.



-- 

________________________________
SavedURI :Show URLShow URLSavedURI :
SavedURI :Hide URLHide URLSavedURI :
https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.de.LEt2fN4ilLE.O/m=m_i,t,it/am=OCMOBiHj9kJxhnelj6j997_NLil29vVAOBGeBBRgJwD-m_0_8B_AD-qOEw/rt=h/d=1/rs=AItRSTODy9wv1JKZMABIG3Ak8ViC4kuOWA?random=1395770800154https://mail.google.com/_/scs/mail-static/_/js/k=gmail.main.de.LEt2fN4ilLE.O/m=m_i,t,it/am=OCMOBiHj9kJxhnelj6j997_NLil29vVAOBGeBBRgJwD-m_0_8B_AD-qOEw/rt=h/d=1/rs=AItRSTODy9wv1JKZMABIG3Ak8ViC4kuOWA?random=1395770800154
________________________________

Reply via email to