Can't compare structures.

I faced the following error message:
structures.jpg
What does this message mean? The project's built just fine. Where

template <typename T>
using vect = std::vector<T>;

and

const vect<int>& v
0
3 comments

Hi Dmitrii.

Could you please specify which CLion version did you try?
The following example correctly works for me.
Could you please send us more detailed example?



Attachment(s):
Screen Shot 2015-07-14 at 11.26.01.png
0
Avatar
Permanently deleted user

I'm using CLion 1.0.4 evaluation copy.

0
Avatar
Permanently deleted user

Try using the keyword "auto" instead of const vector iterator.

0

Please sign in to leave a comment.