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
3 comments
Comment actions Permalink

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
Comment actions Permalink

I'm using CLion 1.0.4 evaluation copy.

0
Comment actions Permalink

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

0

Please sign in to leave a comment.