移動セマンティクスとは? 次のコード スニペットとコメントが表示されます。
void some_function(std::string&& r);
some_function("hello world");
コメント付き:
上記の例では、「hello world」は const char[12] 型の左辺値です。
ハードコーディングされた定数が、const char[12] 型の右辺値"hello world"
ではなく、const char[12] 型の左辺値であるのはなぜですか?