mirror of
https://github.com/boostorg/optional.git
synced 2025-07-15 13:26:37 +02:00
In-place factories moved from /detail to /utility
New value_initalized tests added [SVN r25436]
This commit is contained in:
@ -17,8 +17,8 @@
|
||||
void optional_reference__test_no_converting_assignment()
|
||||
{
|
||||
boost::optional<int&> opt ;
|
||||
short v = 1 ;
|
||||
short& r = v ;
|
||||
double v = 1 ;
|
||||
double& r = v ;
|
||||
opt = r ;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user