forked from boostorg/optional
Reverted specialization for trivial types
It caused too many problems. I left only specialiation for scalar types. I will need to devise clever type traits for reconizing trivial types with working constructor.
This commit is contained in:
1 parent
cbf3cd05af
commit
06dea2cb9b
11 files changed
+293
-123
No files matched your search
+1
-1
@@ -13,7 +13,7 @@
|
||||
|
||||
[heading Boost Release 1.66]
|
||||
|
||||
* On newer compilers `optional` is now trivially-copyable for trivial `T`s. This uses a different storage (just `T` rather than `aligned_storage`). We require the compiler to support defaulted functions and type traits. Otherwise, we still use the the plain storage for scalar types.
|
||||
* On newer compilers `optional` is now trivially-copyable for scalar `T`s. This uses a different storage (just `T` rather than `aligned_storage`). We require the compiler to support defaulted functions.
|
||||
|
||||
|
||||
[heading Boost Release 1.63]
|
||||
|
||||
Reference in new issue
Block a user