Boost C++ Libraries: Ticket #8189: Port some type traits from Boost.Variant https://svn.boost.org/trac10/ticket/8189 <p> Boost.Varaint has the following traits, that can be used across modules and sould be ported to Boost.<a class="missing wiki">TypeTraits</a> </p> <pre class="wiki">has_nothrow_move_assign has_nothrow_move_constructor has_trivial_move_assign has_trivial_move_constructor </pre><p> Implementation may be tuned to use C++11 features it they are available. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/8189 Trac 1.4.3 Antony Polukhin Wed, 27 Feb 2013 20:33:06 GMT attachment set https://svn.boost.org/trac10/ticket/8189 https://svn.boost.org/trac10/ticket/8189 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">type_traits.patch</span> </li> </ul> <p> Initial patch (no documentation, but there are some tests) </p> Ticket Antony Polukhin Thu, 28 Feb 2013 07:01:38 GMT status, description changed https://svn.boost.org/trac10/ticket/8189#comment:1 https://svn.boost.org/trac10/ticket/8189#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">assigned</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/8189?action=diff&amp;version=1">diff</a>) </li> </ul> <p> Current patch has following issues, that must be solved before merging: </p> <ul><li><code>has_*</code> functions must be renamed to <code>is_*able</code> to better reflect their behavior and to have more conformance with C++11 </li><li><code>is_pod&lt;T&gt;::value || __has_trivial_move_assign(T)</code> and <code>is_pod&lt;T&gt;::value || __has_trivial_move_constructor(T)</code> must be added to Clang and VC11 intrinsics </li><li>tests for detection of triviality and noexcept of user defined move operators and constructors on compilers with <code>noexcept</code> support </li></ul> Ticket Antony Polukhin Thu, 28 Feb 2013 19:17:52 GMT <link>https://svn.boost.org/trac10/ticket/8189#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8189#comment:2</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83206" title="Added new type traits (more documentation, more tests and improved ...">[83206]</a>) Added new type traits (more documentation, more tests and improved C++11 specific features detection still must to be done) (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>John Maddock</dc:creator> <pubDate>Fri, 01 Mar 2013 12:20:25 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/8189#comment:3 https://svn.boost.org/trac10/ticket/8189#comment:3 <ul> <li><strong>cc</strong> <span class="trac-author">john@…</span> added </li> </ul> Ticket Antony Polukhin Sat, 02 Mar 2013 08:31:02 GMT <link>https://svn.boost.org/trac10/ticket/8189#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8189#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83241" title="Added documentation for new type traits (refs #8189) HTML pages ...">[83241]</a>) Added documentation for new type traits (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>) HTML pages regenerated (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 02 Mar 2013 16:15:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8189#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8189#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83245" title="Fix MSVC11 test (refs #8189). Added C++11 noexcept implementation of ...">[83245]</a>) Fix MSVC11 test (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>). Added C++11 noexcept implementation of is_nothrow_move_constructible and is_nothrow_move_assignable traits and changed C++03 version to to work close to C++11 (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Fri, 08 Mar 2013 15:52:49 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8189#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8189#comment:6</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83365" title="Added C++11 specific tests for implementation of ...">[83365]</a>) Added C++11 specific tests for implementation of is_nothrow_move_constructible and is_nothrow_move_assignable traits (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Thu, 14 Mar 2013 18:56:21 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/8189#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/8189#comment:7</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83430" title="Added missing header for is_nothrow_move_constructible (refs #8189).">[83430]</a>) Added missing header for is_nothrow_move_constructible (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/8189" title="#8189: Feature Requests: Port some type traits from Boost.Variant (closed: fixed)">#8189</a>). </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Fri, 10 May 2013 19:36:29 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/8189#comment:8 https://svn.boost.org/trac10/ticket/8189#comment:8 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> This was merged to release branch and Boost.Variant already successfully uses new traits from release branch. </p> Ticket