-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
iterator.h文件下的一个小问题 #96
Comments
其实 这个 ... 这三个点是 八成是 任意类型的意思,但是不明白这个 test 模板函数 是没有 定义的。 |
我想知道 这个 test 函数模板 应该是有定义的,不是很懂 |
首先回答
这里利用了
就可以轻松靠判断 |
楼上对的 |
has_iterator_cat这个结构体的定义中,有一行是
template <class U> static two test(...);
,这一句的(...)是什么意思呀The text was updated successfully, but these errors were encountered: