Boost logo

Boost :

From: David Abrahams (dave_at_[hidden])
Date: 2004-06-01 08:49:05


"Gennadiy Rozental" <gennadiy.rozental_at_[hidden]> writes:

>> The use of the BOOST_READONLY_PROPERTY macro results in error messages
                  ^^^^^^^^^^^^^^^^^^^^^^^
>> (see attached file) when compiling the test library with vacpp.

<snip>

> In this particular case I rely on PP library. It works even on ancient
> Solaris 4.2 and gcc 2.9.1. I don't know specific issies with the compiler
> you are using in regards of preprocessor, so couldn't give more helpfull
> information other than that PP macros are used to generate series of friend
> statement in class definition:
>
> friend class class1;
> friend class class2;
>
> ...
> friend class classN;
>
> BOOST_CLASS_PROPERTY is used like this:
>
> BOOST_CLASS_PROPERTY( int, (class1)(class2)...(classN) ) property;

How is that relevant?

-- 
Dave Abrahams
Boost Consulting
http://www.boost-consulting.com

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