A
Al-Burak
After storing the cursor possition in a file, I try to read it back,
std:fstream >> std::streampos, but this statement gives me an error
syaing:
file.cpp: In member function `virtual jme::MyClass&
jme::MyClass:perator>>(std::streampos&)':
file.cpp:1051: error: ambiguous overload for 'operator>>' in
'(((jme::Stream*)this) +
(*(int*)(((jme::MyClass*)this)->jme::MyClass::_vptr$MyClass +
-0x000000010)))->jme::Stream::f >> data'
I MUSTN'T cast std::streampos to 'int', since the size of
std::streampos will be much grater than INT_MAX.
What am I doing wrong?
What can I do to make my program to work?
TIA
std:fstream >> std::streampos, but this statement gives me an error
syaing:
file.cpp: In member function `virtual jme::MyClass&
jme::MyClass:perator>>(std::streampos&)':
file.cpp:1051: error: ambiguous overload for 'operator>>' in
'(((jme::Stream*)this) +
(*(int*)(((jme::MyClass*)this)->jme::MyClass::_vptr$MyClass +
-0x000000010)))->jme::Stream::f >> data'
I MUSTN'T cast std::streampos to 'int', since the size of
std::streampos will be much grater than INT_MAX.
What am I doing wrong?
What can I do to make my program to work?
TIA