We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
template<class ForwardIterator> inline void destroy(ForwardIterator first, ForwardIterator last){ typedef typename _type_traits<ForwardIterator>::is_POD_type is_POD_type; _destroy(first, last, is_POD_type());
我的理解ForwardIterator 应该是表示迭代器? 那萃取的应该是*ForwardIterator,为什么是ForwardIterator?望赐教, Thx。
The text was updated successfully, but these errors were encountered:
是的,我也发现这个问题了。应该先得到迭代器指向的值的类型,然后在调用上面那步。如果这样写,那这一版本的destroy()就不能发挥作用。
Sorry, something went wrong.
No branches or pull requests
我的理解ForwardIterator 应该是表示迭代器? 那萃取的应该是*ForwardIterator,为什么是ForwardIterator?望赐教, Thx。
The text was updated successfully, but these errors were encountered: