Skip to content

Commit

Permalink
rename to emplace-from
Browse files Browse the repository at this point in the history
  • Loading branch information
ericniebler committed Jan 10, 2024
1 parent d87dfa1 commit caa84bb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions execution.bs
Original file line number Diff line number Diff line change
Expand Up @@ -5010,7 +5010,7 @@ enum class forward_progress_guarantee {
11. <pre highlight="c++">
template&lt;<i>callable</i> Fun>
requires is_nothrow_move_constructible_v&lt;Fun>
struct <i>emplace-construct</i> { // exposition only
struct <i>emplace-from</i> { // exposition only
Fun <i>fun</i>; // exposition only
using type = <i>call-result-t</i>&lt;Fun>;

Expand All @@ -5024,7 +5024,7 @@ enum class forward_progress_guarantee {
};
</pre>

1. <span class="wg21note"><i>`emplace-construct`</i> is used to emplace
1. <span class="wg21note"><i>`emplace-from`</i> is used to emplace
non-movable types into containers like `tuple`, `optional`, and `variant`.</span>

11. <pre highlight="c++">
Expand Down

0 comments on commit caa84bb

Please sign in to comment.