mirror of
https://github.com/AnthonyCalandra/modern-cpp-features.git
synced 2025-12-18 10:34:35 +03:00
Fix typo.
This commit is contained in:
@@ -449,7 +449,7 @@ decltype(auto) x2 = x; // const int
|
|||||||
int y = 0;
|
int y = 0;
|
||||||
int& y1 = y;
|
int& y1 = y;
|
||||||
auto y2 = y; // int
|
auto y2 = y; // int
|
||||||
decltype(auto) y3 = y; // int&
|
decltype(auto) y3 = y1; // int&
|
||||||
int&& z = 0;
|
int&& z = 0;
|
||||||
auto z1 = std::move(z); // int
|
auto z1 = std::move(z); // int
|
||||||
decltype(auto) z2 = std::move(z); // int&&
|
decltype(auto) z2 = std::move(z); // int&&
|
||||||
|
|||||||
Reference in New Issue
Block a user