diff --git a/docs/auto.md b/docs/auto.md index a63fd9b..0e53cb1 100644 --- a/docs/auto.md +++ b/docs/auto.md @@ -402,7 +402,7 @@ int &func() { int i; decltype(auto) func() { - return i; + return i + 1; } // 等价于: decltype((i + 1)) func() {