mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-16 20:27:08 +03:00
book: add missing semicolon (#205)
This commit is contained in:
@@ -480,7 +480,7 @@ You may think that when we introduce `auto`, we have already mentioned that `aut
|
||||
```cpp
|
||||
template<typename R, typename T, typename U>
|
||||
R add(T x, U y) {
|
||||
return x+y
|
||||
return x+y;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
@@ -413,7 +413,7 @@ type z == type x
|
||||
```cpp
|
||||
template<typename R, typename T, typename U>
|
||||
R add(T x, U y) {
|
||||
return x+y
|
||||
return x+y;
|
||||
}
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user