Skip to content
Snippets Groups Projects
Commit 71ade764 authored by Ville Voutilainen's avatar Ville Voutilainen Committed by Ville Voutilainen
Browse files

re PR libstdc++/77727 (Unwrapping std::optional constructor is not working for...

re PR libstdc++/77727 (Unwrapping std::optional constructor is not working for non-transferable object)

    PR libstdc++/77727
    * include/std/optional (optional(const optional<_Up>&)):
    Default-initialize the base and use emplace.
    (optional(optional<_Up>&&)): Likewise.
    * testsuite/20_util/optional/cons/77727.cc: New.

From-SVN: r240511
parent f2fe9e0a
No related branches found
No related tags found
No related merge requests found
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