Skip to content
Commit 36db4898 authored by Marshall Clow's avatar Marshall Clow
Browse files

Cleaup of requirements for optional. While researching LWG3196, I realized...

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.

llvm-svn: 356918
parent 524e5e90
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment