OSDN Git Service

fix: 修正错误的模板表述
authorMargatroid <i@margatroid.xyz>
Mon, 29 Jul 2019 11:51:09 +0000 (19:51 +0800)
committerGitHub <noreply@github.com>
Mon, 29 Jul 2019 11:51:09 +0000 (19:51 +0800)
docs/misc/io.md

index c74e31a..cfbbfff 100644 (file)
@@ -189,7 +189,7 @@ inline void write(int x) {
 
 ## 使输入输出优化更为通用
 
-如果你的程序使用多个类型的变量,那么可能需要写多个输入输出优化的函数。下面给出的代码使用[C++ 中的 `template` 类](http://www.cplusplus.com/doc/oldtutorial/templates)实现了对于自定类型的输入输出优化,从而简化这一步骤(注意不适用于字符和实数)
+如果你的程序使用多个类型的变量,那么可能需要写多个输入输出优化的函数。下面给出的代码使用[C++ 中的 `template`](http://www.cplusplus.com/doc/oldtutorial/templates)实现了对于所有整数类型的输入输出优化
 
 ```cpp
 template <typename T>