質問編集履歴

3

正確にn4659から文章を引用した

2019/01/13 00:13

投稿

alphya
alphya

スコア124

test CHANGED
File without changes
test CHANGED
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- > in a return statement in a function with a class return type, when the expression is the name of a non-volatile automatic object (other than a function parameter or a variable introduced by the exception-declaration of a handler ([except.handle])) with the same type (ignoring cv-qualification) as the function return type, the copy/move operation can be omitted by constructing the automatic object directly into the function call's return object
13
+ > in a return statement in a function with a class return type, when the expression is the name of a non-volatile automatic object (other than a function parameter or a variable introduced by the exception-declaration of a handler (18.3)) with the same type (ignoring cv-qualification) as the function return type, the copy/move operation can be omitted by constructing the automatic object directly into the function calls return object
14
14
 
15
15
 
16
16
 

2

リンクの改善

2019/01/13 00:13

投稿

alphya
alphya

スコア124

test CHANGED
File without changes
test CHANGED
@@ -1,4 +1,4 @@
1
- C++17で追加された機能、[値のコピー省略を保証](https://cpprefjp.github.io/lang/cpp17/guaranteed_copy_elision.html)について、規格のどこにこの記述があるのかわかる方がいましたら、ご教授お願いいたします。
1
+ C++17で追加された機能、[値のコピー省略を保証](https://ja.cppreference.com/w/cpp/language/copy_elision)について、規格のどこにこの記述があるのかわかる方がいましたら、ご教授お願いいたします。
2
2
 
3
3
 
4
4
 

1

書式の改善

2019/01/13 00:06

投稿

alphya
alphya

スコア124

test CHANGED
File without changes
test CHANGED
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- また、n4659 [class.copy.elision]も関係しそうだと思います。[class.copy.elision]/1.1 の
9
+ また、n4659 [class.copy.elision]も関係しそうだと思います。[class.copy.elision]/1.1 に、次記述があります。
10
10
 
11
11
 
12
12