more unit test for opt ref swap and abstract types

This commit is contained in:
Andrzej Krzemienski
2016-02-16 23:49:15 +01:00
parent 143bda7c9f
commit b0602a1161
9 changed files with 66 additions and 124 deletions

View File

@ -13,7 +13,12 @@
[heading Boost Release X.XX]
* Now `boost::optional` is specialized for reference parameters. This way the `sizeof` of optional reference is that of a pointer, and a number of bugs is avoided.
* Now `boost::optional` is specialized for reference parameters. This addresses a couple of issues:
* the `sizeof` of optional reference is that of a pointer,
* some bugs connected to copying optional references are gone,
* you can swap optional references: it is like swapping pointers: shalow, underlying objects are not affected,
* optional references to abstract types work.
* Documented nested typedefs ([@https://svn.boost.org/trac/boost/ticket/5193 Trac #5193]).
[heading Boost Release 1.60]