Boost logo

Boost Users :

From: Roman Perepelitsa (roman.perepelitsa_at_[hidden])
Date: 2008-08-11 11:19:40


Ákos Maróy <akos <at> maroy.hu> writes:
> How does this compare to the binary archive that's in the boost
> repository?

It's an implementation of portable binary archive, while
the think you can find in boost repository is just an
example of how one could try to implement portable binary
archive, therefore it's incomplete.

> there it has the following files:
>
> portable_binary_archive.hpp

This one contains shared code for iarchive and oarchive.

> portable_binary_iarchive.cpp
> portable_binary_iarchive.hpp

It's an implementation of iarchive.

> portable_binary_oarchive.cpp
> portable_binary_oarchive.hpp

It's an implementation of oarchive.

> while yours is merely two header files:
>
> portable_binary_iarchive.hpp
> portable_binary_oarchive.hpp

Well, they are not mine :)

There is no need for cpp files because implementation
is inline. Also they don't use anything like
portable_binary_archive.hpp, but it's an implementation
detail anyway.

> are these complete replacements for the above?

Yes.

Roman Perepelitsa.


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net