mirror of
https://github.com/changkun/modern-cpp-tutorial.git
synced 2025-12-16 20:27:08 +03:00
book: add missing result (#291)
Co-authored-by: Shaobo Liu <shaobo@apple.com>
This commit is contained in:
@@ -963,7 +963,7 @@ enum class new_enum : unsigned int {
|
||||
|
||||
```cpp
|
||||
if (new_enum::value3 == new_enum::value4) {
|
||||
// 会输出
|
||||
// 会输出true
|
||||
std::cout << "new_enum::value3 == new_enum::value4" << std::endl;
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user