<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<rss version="2.0">
  <channel>
  <title>comp.std.c++ Google Group</title>
  <link>http://groups.google.co.uk/group/comp.std.c++</link>
  <description>Discussion about C++ language, library, standards. (Moderated)</description>
  <language>en</language>
  <item>
  <title>Re: Adding this_thread::native_handle free function</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/e18ddc0296501161/416e5a1c1a9a6b0d?show_docid=416e5a1c1a9a6b0d</link>
  <description>
  It isn&#39;t really necessary. Since the only point of getting the native &lt;br&gt; handle is to call platform-dependant functions, you might as well call &lt;br&gt; a platform-dependant function to get the handle. &lt;br&gt; Yechezkel Mett
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/e18ddc0296501161/416e5a1c1a9a6b0d?show_docid=416e5a1c1a9a6b0d</guid>
  <author>
  ymett.on.use...@gmail.com
  (Yechezkel Mett)
  </author>
  <pubDate>Sun, 12 Dec 2009 18:22:13 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why is std::array an aggregate?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/d4ccd6bbf9888e28?show_docid=d4ccd6bbf9888e28</link>
  <description>
  That still means you have to write the size. An exception isn&#39;t &lt;br&gt; as good as a compiler error, and a compiler error isn&#39;t as good &lt;br&gt; as not having to write the size to begin with. &lt;br&gt; Of course they can. So can C style arrays: &lt;br&gt; int a[] = { f(), g(), h() }; &lt;br&gt; What&#39;s special is that it can also be initialized statically:
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/d4ccd6bbf9888e28?show_docid=d4ccd6bbf9888e28</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Sun, 12 Dec 2009 18:22:32 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why is std::array an aggregate?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/e2fc2e8bda8ce994?show_docid=e2fc2e8bda8ce994</link>
  <description>
  I believe this can all be done using variadic templates: &lt;br&gt; template&amp;lt;typename T, size_t S&amp;gt; &lt;br&gt; struct array { &lt;br&gt; template&amp;lt;typename ...U&amp;gt; &lt;br&gt; constexpr array(U&amp;amp;&amp;amp;... u):elems{ u... } { } &lt;br&gt; T elems[S]; &lt;br&gt; array&amp;lt;int, 3&amp;gt; a = { 1, 2 }; // works, is statically initialized &lt;br&gt; array&amp;lt;int, 2&amp;gt; a = { 1, 2, 3 }; // gives an error at compile time
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/e2fc2e8bda8ce994?show_docid=e2fc2e8bda8ce994</guid>
  <author>
  schaub-johan...@web.de
  (Johannes Schaub (litb))
  </author>
  <pubDate>Sun, 12 Dec 2009 18:21:57 UT
</pubDate>
  </item>
  <item>
  <title>Re: Must variadic template parameters occur at the end of the template parameter list?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/3d3cc600b9e6cbb6?show_docid=3d3cc600b9e6cbb6</link>
  <description>
  Hi, &lt;br&gt; i actually brought up this point a few months ago argumenting the same &lt;br&gt; point as Scott: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://groups.google.com/group/comp.std.c++/browse_thread/thread/1576cf21b63c4d99/baaf0653c192ff36#baaf0653c192ff36&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; this would be a great feature added to variadic templates and Douglas &lt;br&gt; Gregor, at the time, seem to be saying that it could be introduced as
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/3d3cc600b9e6cbb6?show_docid=3d3cc600b9e6cbb6</guid>
  <author>
  olivier.gr...@gmail.com
  (Olivier)
  </author>
  <pubDate>Sun, 12 Dec 2009 03:38:12 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why is std::array an aggregate?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/9b8b141409848b88?show_docid=9b8b141409848b88</link>
  <description>
  Well, the size of the std::array is part of its type, so if dynamic &lt;br&gt; initialization were permitted, all we&#39;d need would be a specification for what &lt;br&gt; happens if the number of clauses in the init list didn&#39;t match the declared size &lt;br&gt; of the std::array. To keep things semi-consistent with aggregate &lt;br&gt; initialization, we could say that std::array elements without initializers would
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/9b8b141409848b88?show_docid=9b8b141409848b88</guid>
  <author>
  neverr...@aristeia.com
  (Scott Meyers)
  </author>
  <pubDate>Sun, 12 Dec 2009 03:37:48 UT
</pubDate>
  </item>
  <item>
  <title>Re: unique_ptr assignment</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/806e67f40759fc6b/f1e6ce5f482271ad?show_docid=f1e6ce5f482271ad</link>
  <description>
  You&#39;re right. I mis-read the declaration. 6 years of studying C++ and &lt;br&gt; I still cannot parse a simple template declaration. &lt;br&gt; Thanks, &lt;br&gt; &amp;amp;rzej
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/806e67f40759fc6b/f1e6ce5f482271ad?show_docid=f1e6ce5f482271ad</guid>
  <author>
  akrze...@gmail.com
  (restor)
  </author>
  <pubDate>Sun, 12 Dec 2009 03:38:39 UT
</pubDate>
  </item>
  <item>
  <title>Re: Must variadic template parameters occur at the end of the template parameter list?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/61425c86c8a9ed04?show_docid=61425c86c8a9ed04</link>
  <description>
  I think Scott brings up a valid point. I understand that multiple &lt;br&gt; parameter packs are not allowed for declaring a class template because &lt;br&gt; the user *has* to specify the arguments. The draft clearly allows &lt;br&gt; multiple parameter packs for function templates because template &lt;br&gt; parameters can be deduced. But the same is true for specializations.
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/61425c86c8a9ed04?show_docid=61425c86c8a9ed04</guid>
  <author>
  s.gesem...@gmail.com
  (SG)
  </author>
  <pubDate>Sat, 12 Dec 2009 15:16:47 UT
</pubDate>
  </item>
  <item>
  <title>Re: &quot;Special&quot; library types</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/77079d02af1bf095/a472b2e6c45aed1d?show_docid=a472b2e6c45aed1d</link>
  <description>
  Not really. The type is std::nullptr_t, but look how draft C++0x specifies it: &lt;br&gt; Scott
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/77079d02af1bf095/a472b2e6c45aed1d?show_docid=a472b2e6c45aed1d</guid>
  <author>
  neverr...@aristeia.com
  (Scott Meyers)
  </author>
  <pubDate>Sat, 12 Dec 2009 06:56:15 UT
</pubDate>
  </item>
  <item>
  <title>Re: Why is std::array an aggregate?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/9a1a7bb528ff6406?show_docid=9a1a7bb528ff6406</link>
  <description>
  Presumably, so that it can be statically initialized, in order &lt;br&gt; to avoid order of initialization problems. (It still needs a &lt;br&gt; mechanism for the number of elements to be determined, &lt;br&gt; statically, from the initialization list, in order to be truly &lt;br&gt; useful.)
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/9a1a7bb528ff6406?show_docid=9a1a7bb528ff6406</guid>
  <author>
  james.ka...@gmail.com
  (James Kanze)
  </author>
  <pubDate>Sat, 12 Dec 2009 06:55:43 UT
</pubDate>
  </item>
  <item>
  <title>Re: Adding a istream_iterator ctor with a delimiter.</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/703dd74d686a3368/9eb9a5d1726311f8?show_docid=9eb9a5d1726311f8</link>
  <description>
  Why not just use a std::regex_iterator (or std::tr1::regex_iterator)? &lt;br&gt; Scott
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/703dd74d686a3368/9eb9a5d1726311f8?show_docid=9eb9a5d1726311f8</guid>
  <author>
  neverr...@aristeia.com
  (Scott Meyers)
  </author>
  <pubDate>Sat, 12 Dec 2009 06:55:08 UT
</pubDate>
  </item>
  <item>
  <title>Re: Must variadic template parameters occur at the end of the template parameter list?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/b3fa96dde8e4efed?show_docid=b3fa96dde8e4efed</link>
  <description>
  Hi Scott. &lt;br&gt; One explanation for why packs are restricted to the end &lt;br&gt; is found here: &lt;br&gt; &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://groups.google.com/group/comp.lang.c++.moderated/msg/e3c48abcdda846f0?hl=en&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; That&#39;s unfortunate because I would find them useful :( &lt;br&gt; HTH. &lt;br&gt; -Larry
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/b3fa96dde8e4efed?show_docid=b3fa96dde8e4efed</guid>
  <author>
  cppljev...@gmail.com
  (Larry Evans)
  </author>
  <pubDate>Fri, 12 Dec 2009 21:02:43 UT
</pubDate>
  </item>
  <item>
  <title>Re: Must variadic template parameters occur at the end of the template parameter list?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/d07882b7c949f471?show_docid=d07882b7c949f471</link>
  <description>
  See N3000 - 14.2/11: &amp;quot;If a template-parameter of a class template is a &lt;br&gt; template parameter pack, it shall be the last template-parameter. &lt;br&gt; [ Note: These are not requirements for function templates because &lt;br&gt; template arguments might be deduced (14.9.2).&amp;quot;
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/28533e968163c789/d07882b7c949f471?show_docid=d07882b7c949f471</guid>
  <author>
  ts...@mail.ru
  (Nikolay Ivchenkov)
  </author>
  <pubDate>Fri, 12 Dec 2009 21:01:42 UT
</pubDate>
  </item>
  <item>
  <title>Re: &quot;Special&quot; library types</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/77079d02af1bf095/24a839de1e083dbe?show_docid=24a839de1e083dbe</link>
  <description>
  Is the type of nullptr user-defined?
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/77079d02af1bf095/24a839de1e083dbe?show_docid=24a839de1e083dbe</guid>
  <author>
  pedro.lama...@gmail.com
  (Pedro Lamarão)
  </author>
  <pubDate>Fri, 12 Dec 2009 21:02:18 UT
</pubDate>
  </item>
  <item>
  <title>Re: &quot;Special&quot; library types</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/77079d02af1bf095/bb53a1954c478a8d?show_docid=bb53a1954c478a8d</link>
  <description>
  std::nullptr_t is the only other type I can think of, since all values &lt;br&gt; of type std::nullptr_t are null pointer constants, and thus do all &lt;br&gt; sorts of magic. &lt;br&gt; Sean
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/77079d02af1bf095/bb53a1954c478a8d?show_docid=bb53a1954c478a8d</guid>
  <author>
  ride...@gmail.com
  (Sean Hunt)
  </author>
  <pubDate>Fri, 12 Dec 2009 21:00:31 UT
</pubDate>
  </item>
  <item>
  <title>Why is std::array an aggregate?</title>
  <link>http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/b6fd7e3e76b05be8?show_docid=b6fd7e3e76b05be8</link>
  <description>
  In TR1, std::tr1::array needed to be an aggregate so that it could be &lt;br&gt; brace-initialized. To offer the same capability for C++0x&#39;s std::array, the &lt;br&gt; class could simply declare a constructor taking a std::initializer_list. So why &lt;br&gt; is std::array an aggregate? Making it a non-aggregate would permit e.g., giving
  </description>
  <guid isPermaLink="true">http://groups.google.co.uk/group/comp.std.c++/browse_frm/thread/8390690191732735/b6fd7e3e76b05be8?show_docid=b6fd7e3e76b05be8</guid>
  <author>
  neverr...@aristeia.com
  (Scott Meyers)
  </author>
  <pubDate>Fri, 12 Dec 2009 21:00:50 UT
</pubDate>
  </item>
  </channel>
</rss>
