Thank you. Yes, it does. After adding the implementation of operator==, it's ok.
Type: Posts; User: mellaicp
Thank you. Yes, it does. After adding the implementation of operator==, it's ok.
I am trying to experiment <algorithm>'s find to search for an item in a
vector of struct. My bit of test code is shown below.
#include <algorithm>
#include <iterator>
#include <functional>...