[boost] [optional] Support for moving values

8 views
Skip to first unread message

Adam Badura

unread,
Nov 14, 2012, 6:46:49 AM11/14/12
to bo...@lists.boost.org
Are there any plans to add support for move constructors and assignment
operators?

I noticed that many Boost libraries miss that support. And it is especially
"visible" in case of such utilities like boost::optional or boost::variant.

Adam Badura



_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Antony Polukhin

unread,
Nov 14, 2012, 9:11:41 AM11/14/12
to bo...@lists.boost.org
2012/11/14 Adam Badura <aba...@o2.pl>:
> I noticed that many Boost libraries miss that support. And it is especially
> "visible" in case of such utilities like boost::optional or boost::variant.

I'm working on rvalues support in Boost.Variant (and there are some
patches already applied to trunk).

Boost.Optional has a ticket for rvalues support
https://svn.boost.org/trac/boost/ticket/1841 and looks like
Boost.Optional's author already working on it.

--
Best regards,
Antony Polukhin
Reply all
Reply to author
Forward
0 new messages