Skip to content

Commit 62e51ae

Browse files
authored
Merge pull request wuye9036#42 from pkxpp/master
typo
2 parents 4d19a64 + 3e4acf6 commit 62e51ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ReadMe.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@ template <float a> class E {}; // ERROR: 别闹!早说过只能是整数类型
557557

558558
技术的学习是一个登山的过程。第一章是最为平坦的山脚道路。而从这一章开始,则是正式的爬坡。无论是我写作还是你阅读,都需要付出比第一章更多的代价。那么问题就是,付出更多的精力学习模板是否值得?
559559

560-
这个问题很功利,但是一阵见血。因为技术的根本目的在于解决需求。那C++的模板能做什么?
560+
这个问题很功利,但是一针见血。因为技术的根本目的在于解决需求。那C++的模板能做什么?
561561

562562
一个高(树)大(新)上(蜂)的回答是,C++里面的模板,犹如C中的宏、C#和Java中的自省(restropection)和反射(reflection)一样,是一个改变语言内涵,拓展语言外延的存在。
563563

0 commit comments

Comments
 (0)