Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>The news does not look good.</p> <p>Having read over the <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2009/n2857.pdf" rel="nofollow noreferrer">just-released draft standard</a>, I'm not seeing a built-in solution to this, which does seem odd.</p> <p>The best place to ask about such things (if you haven't already) is comp.lang.c++.moderated, because some folks involved in drafting the standard post there regularly.</p> <p>If you check out <a href="http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/750fa3815cdaac45/d8dc09e34bbb9661?lnk=gst&amp;q=tuple+variadic#d8dc09e34bbb9661" rel="nofollow noreferrer">this thread</a>, someone has the same question (maybe it's you, in which case you're going to find this whole answer a little frustrating!), and a few butt-ugly implementations are suggested.</p> <p>I just wondered if it would be simpler to make the function accept a <code>tuple</code>, as the conversion that way is easier. But this implies that all functions should accept tuples as arguments, for maximum flexibility, and so that just demonstrates the strangeness of not providing a built-in expansion of tuple to function argument pack.</p> <p>Update: the link above doesn't work - try pasting this:</p> <p><a href="http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/750fa3815cdaac45/d8dc09e34bbb9661?lnk=gst&amp;q=tuple+variadic#d8dc09e34bbb9661" rel="nofollow noreferrer">http://groups.google.com/group/comp.lang.c++.moderated/browse_thread/thread/750fa3815cdaac45/d8dc09e34bbb9661?lnk=gst&amp;q=tuple+variadic#d8dc09e34bbb9661</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload