Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo


IO of objects how its done


  • Anonymous

    Hi all!

    I am starting to learning the stxxl library.

    I want to ask how the input and output of objects is made when eg i use a vector. Looking at the code (that uses a file object) i see that a object value is written to disk by exact copy of the bits of the object (e.g using write()).  Equivalently for input. That is, no operator<< or operator>> is involved. Is this true for all stxxl philosophy? Also, since most of existing classes are not PODs is there an easy way to use them on stxxl? (most of existing classes support operator<< and operator>> but stxxl doesn 't use them.. could a smart proxy class do the job?).

    Thanks (and sorry for the newbie question)