hello,
It's not related to Iterator.
This simple example also complain about the default constructor.
#include <iostream>
class MYINT
{
public:
MYINT(int inInt) { _myint = inInt; };
private:
int _myint;
};
int main()
{
MYINT myint;
system("pause");
return 0;
}
It should say 'hey i don't have any constructor with no parameters".
But if you give him something to initialize with it understand.
MYINT myint = MYINT(10);
MYINT myOtherInt = 10;
MYINT myThirdInt(10);
all this will end with _myint = 10;
Cheers
Manuel