I read here that, for an input buffer, filebuf::sync
's:
effects -if any- depend on the library implementation
So my question then, is can anyone tell me what those effects are for gcc and Visual Studio?
I read here that, for an input buffer, filebuf::sync
's:
effects -if any- depend on the library implementation
So my question then, is can anyone tell me what those effects are for gcc and Visual Studio?
Copyright © 2021 Jogjafile Inc.
GCC's internal implementation of
basic_filebuf
simply aligns itspbase()
andpptr()
with the comment:Visual Studio's internal implementation of
basic_filebuf
callsfflush(_Myfile)
which is not implemented in the header. So it's unclear what that call does. The call is commented with: