由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - C++ template function default argument 很怪?
相关主题
Default function template arguments请问一个implicit conversion的问题(C++)
C++ function template问题这个问题怎么答?
C++ Q90 - Q92 (转载)one question about overloading operator delete
[合集] 又被羞辱了一把... (转载)这段code有啥问题?
C++ linking 弱问 (one file)C++ func overload question
一个关于C++ template和overload的问题How to overload global new operator?
why use static function here?operator overloading (C++)
Java banned operator overloadingC++ Q89: function template and overloading (转载)
相关话题的讨论汇总
话题: c++话题: argument话题: default
进入Programming版参与讨论
1 (共1页)
r****t
发帖数: 10904
1
g++ 搞来搞去,最后还是用了 overloading 了事。 这里的 default argument 完全搞
不懂是在干什么。。。
现在老这么 try and error, 摸石头过河,太惨了。
T*******i
发帖数: 4992
2
与其try & hit,还不如系统学习下

【在 r****t 的大作中提到】
: g++ 搞来搞去,最后还是用了 overloading 了事。 这里的 default argument 完全搞
: 不懂是在干什么。。。
: 现在老这么 try and error, 摸石头过河,太惨了。

r****t
发帖数: 10904
3
你推荐个书吧?

【在 T*******i 的大作中提到】
: 与其try & hit,还不如系统学习下
T*******i
发帖数: 4992
1 (共1页)
进入Programming版参与讨论
相关主题
C++ Q89: function template and overloading (转载)C++ linking 弱问 (one file)
请问关于overloading <<一个关于C++ template和overload的问题
问题的根源找到了why use static function here?
Go不支持operator overloadJava banned operator overloading
Default function template arguments请问一个implicit conversion的问题(C++)
C++ function template问题这个问题怎么答?
C++ Q90 - Q92 (转载)one question about overloading operator delete
[合集] 又被羞辱了一把... (转载)这段code有啥问题?
相关话题的讨论汇总
话题: c++话题: argument话题: default