commit | 9d9372a34cf656ba78365427b821c61518e99247 | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Mon Mar 25 16:35:59 2019 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Mon Mar 25 16:35:59 2019 +0000 |
tree | 73599296c2fb57e2773f1bb76fe6c810309eb0a5 | |
parent | 244334750df13bd76a8485c616f4d2a4c1f0dae3 [diff] |
Cleaup of requirements for optional. While researching LWG3196, I realized that optional did not reject 'const in_place_t' like it should. Added a test as well, and a check for arrays (which were already disallowed, but now we get a better error message). Should not affect anyone's code. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@356918 91177308-0d34-0410-b5e6-96231b3b80d8