Boost logo

Boost :

From: Robert Ramey (ramey_at_[hidden])
Date: 2005-08-24 10:17:02


> // This is the first line of the file
>
> #include <boost/serialization/access.hpp> // I'm guessing the name
>
> class my_type {
> friend class ::boost::serialization::access;
> //...
> };

This is what I intended to be used. It never occurred to me to use anything
else. Not that that means anything in particular.

> ? It's actually more of a "rules of C++" question; the section on
> friends in the standard isn't too clear here.

I'll buy tthat

Robert Ramey


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk