Boost C++ Libraries: Ticket #6999: Boost.Move support in Boost.Any https://svn.boost.org/trac10/ticket/6999 <p> Currently there is no support for move semantics in Boost.Any. It would be nice if the boost::any itself could be movable, but more importantly if it can store values of movable types without copying. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/6999 Trac 1.4.3 tr3w <tr3w@…> Tue, 19 Jun 2012 19:21:54 GMT attachment set https://svn.boost.org/trac10/ticket/6999 https://svn.boost.org/trac10/ticket/6999 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">anymove.patch</span> </li> </ul> <p> Naive move semantics implementation. </p> Ticket tr3w <tr3w@…> Tue, 19 Jun 2012 19:27:52 GMT <link>https://svn.boost.org/trac10/ticket/6999#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:1</guid> <description> <p> I added a naive implementation which seems to work under MSVC 2010, MINGW 4.6 and ICL 12.0. But I never used Boost.Move or rvalue references before, especially not with templates, so probably a deep review is required before merging. :) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 06 Apr 2013 10:42:02 GMT</pubDate> <title>cc set https://svn.boost.org/trac10/ticket/6999#comment:2 https://svn.boost.org/trac10/ticket/6999#comment:2 <ul> <li><strong>cc</strong> <span class="trac-author">antoshkka@…</span> added </li> </ul> <p> Naive patch (anymove.patch) does not work well on trunk version of boost. </p> <p> Attached new patch with a series of tests. Tests pass on MSVC11 and GCC-4.6 </p> Ticket Antony Polukhin Sat, 06 Apr 2013 10:42:56 GMT attachment set https://svn.boost.org/trac10/ticket/6999 https://svn.boost.org/trac10/ticket/6999 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">any.patch</span> </li> </ul> <p> Correct patch with tests </p> Ticket Antony Polukhin Sun, 14 Apr 2013 18:16:31 GMT <link>https://svn.boost.org/trac10/ticket/6999#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:3</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83901" title="Added rvalue references support via Boost.Move to Boost.Any (refs #6999)">[83901]</a>) Added rvalue references support via Boost.Move to Boost.Any (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Mon, 15 Apr 2013 20:17:33 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:4</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83917" title="Do not use Boost.Move for rvalues emulation in Boost.Any (now rvalues ...">[83917]</a>) Do not use Boost.Move for rvalues emulation in Boost.Any (now rvalues in Boost.Any work only on C++11 compilers) (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 20 Apr 2013 06:54:58 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:5</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/83976" title="Added missing BOOST_NOEXCEPT to destructor and updated documentation ...">[83976]</a>) Added missing BOOST_NOEXCEPT to destructor and updated documentation of Boost.Any (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Mon, 29 Apr 2013 18:34:51 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/6999#comment:6 https://svn.boost.org/trac10/ticket/6999#comment:6 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84086" title="Merge Boost.Any from trunk (fixes #6999)">[84086]</a>) Merge Boost.Any from trunk (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> Ticket Antony Polukhin Sat, 04 May 2013 19:01:30 GMT <link>https://svn.boost.org/trac10/ticket/6999#comment:7 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:7</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84140" title="Make Boost.Any more conformant to draft: * decay ValueType (partially ...">[84140]</a>) Make Boost.Any more conformant to draft: </p> <ul><li>decay <a class="missing wiki">ValueType</a> (partially refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </li><li>experimental any_cast&lt;rvalue&amp;&amp;&gt; </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 07 May 2013 19:19:44 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:8 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:8</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84182" title="Make Boost.Any more conformant to draft: * add missing BOOST_NOEXCEPT ...">[84182]</a>) Make Boost.Any more conformant to draft: </p> <ul><li>add missing BOOST_NOEXCEPT (partially refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </li><li>add clear() method </li><li>microoptimization </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Fri, 10 May 2013 19:23:36 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:9 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:9</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84229" title="Make Boost.Any more conformant to draft: * tune boost::any_cast to ...">[84229]</a>) Make Boost.Any more conformant to draft: </p> <ul><li>tune boost::any_cast to work with temporaries and add some more test (partially refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </li></ul> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Mon, 13 May 2013 18:03:25 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:10 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:10</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84274" title="Remove incorrect tests from Boost.Any (refs #6999)">[84274]</a>) Remove incorrect tests from Boost.Any (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Tue, 21 May 2013 18:58:42 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:11 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:11</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84406" title="Add workaround for MSVC-10 bug: disable test (partially refs #6999)">[84406]</a>) Add workaround for MSVC-10 bug: disable test (partially refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 01 Jun 2013 18:56:32 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:12 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:12</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84603" title="Docs update: ValueType of Boost.Any shall be CopyConstructible, not ...">[84603]</a>) Docs update: <a class="missing wiki">ValueType</a> of Boost.Any shall be <a class="missing wiki">CopyConstructible</a>, not Move constructible (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Sat, 01 Jun 2013 18:59:38 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:13 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:13</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/84604" title="Docs update: ValueType of Boost.Any shall be CopyConstructible, not ...">[84604]</a>) Docs update: <a class="missing wiki">ValueType</a> of Boost.Any shall be <a class="missing wiki">CopyConstructible</a>, not Move constructible (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Wed, 24 Jul 2013 15:33:53 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:14 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:14</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85152" title="Added some more C++11 tests for Boost.Any (refs #6999)">[85152]</a>) Added some more C++11 tests for Boost.Any (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Thu, 25 Jul 2013 08:56:10 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:15 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:15</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85158" title="Slightly change file and test names from r85152 to better reflect test ...">[85158]</a>) Slightly change file and test names from <a class="changeset" href="https://svn.boost.org/trac10/changeset/85152" title="Added some more C++11 tests for Boost.Any (refs #6999)">r85152</a> to better reflect test (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Wed, 07 Aug 2013 14:03:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:16 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:16</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85238" title="Add tests for any.clear() and workaround Intel issue in tests (refs #6999)">[85238]</a>) Add tests for any.clear() and workaround Intel issue in tests (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Antony Polukhin</dc:creator> <pubDate>Thu, 29 Aug 2013 11:30:59 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:17 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:17</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/85511" title="Merge tests of Boost.Any from trunk (refs #6999)">[85511]</a>) Merge tests of Boost.Any from trunk (refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6999" title="#6999: Feature Requests: Boost.Move support in Boost.Any (closed: fixed)">#6999</a>) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>anonymous</dc:creator> <pubDate>Thu, 23 Jan 2014 03:54:52 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/6999#comment:18 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/6999#comment:18</guid> <description> <p> Why "const" in "decay&lt;const <a class="missing wiki">ValueType</a>&gt;" in the template conversion ctor of any ? </p> </description> <category>Ticket</category> </item> </channel> </rss>