mirror of
https://github.com/boostorg/optional.git
synced 2025-07-29 12:07:21 +02:00
spelling: unique
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
committed by
Andrzej Krzemienski
parent
46ad495a60
commit
d4f84a868d
@ -163,7 +163,7 @@ assert (!uninit);
|
||||
optional<std::unique_ptr<T>> uinit2 ( std::move(uninit) ) ;
|
||||
assert ( uninit2 == uninit );
|
||||
|
||||
optional<std::unique_ptr<T>> init( std::uniqye_ptr<T>(new T(2)) );
|
||||
optional<std::unique_ptr<T>> init( std::unique_ptr<T>(new T(2)) );
|
||||
assert ( **init == T(2) ) ;
|
||||
|
||||
optional<std::unique_ptr<T>> init2 ( std::move(init) ) ;
|
||||
|
Reference in New Issue
Block a user