You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Up to my knowledge, "sort" accept random access iterator as input parameter, but a and b do not look so.
Am I missing something? or the function type of old version sort as in VS2010 is different from that in VS2017?
Cloud you let me know how to solve this problem in VS 2017?
Thank you in advance.
The text was updated successfully, but these errors were encountered:
I am trying to compile the project on Windows 10, visual studio 2017 and encountered an error at "sort" function in following part.
template
void sfcnn_work::sfcnn_work_init(int num_threads)
{
pair_iter<typename vector::iterator,
typename vector::iterator> a(points.begin(), pointers.begin()),
b(points.end(), pointers.end());
sort(a, b, lt);
}
Up to my knowledge, "sort" accept random access iterator as input parameter, but a and b do not look so.
Am I missing something? or the function type of old version sort as in VS2010 is different from that in VS2017?
Cloud you let me know how to solve this problem in VS 2017?
Thank you in advance.
The text was updated successfully, but these errors were encountered: