mirror of
https://github.com/boostorg/optional.git
synced 2026-07-07 09:00:50 +02:00
Add more robust constexpr support
This commit is contained in:
@@ -55,5 +55,6 @@ int main()
|
||||
{
|
||||
// Invokes boost::optional copy constructor. Should not invoke wrapper constructor from U.
|
||||
boost::optional< wrapper< int > > res = foo();
|
||||
(void)res;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user