Boost logo

Boost :

From: Toon Knapen (toon.knapen_at_[hidden])
Date: 2004-06-02 05:49:34


Gennadiy Rozental wrote:

>>So if I understand you correctly, you say that for instance
>>
>>BOOST_READONLY_PROPERTY( bool, (extended_pred_value) ) p_pred_value ;
>>
>>generates:
>>
>>friend class extended_predicate_value ;
>>
>>
>>I'm pretty sure that this is not what it does so I'm sure I'm
>>misunderstanding.
>
> No. Above statement generate class definition. Boost PP is used to generate
> friend declaration in this class.
>
So you're saying BOOST_READONLY_PROPERTY generates a class definition ?
And what has this to do with the friend declaration ???

Can you just please tell me what BOOST_READONLY_PROPERTY ( bool, (epv) )
will become once it is preprocessed ?

> P.S. Paul should know the answer
I don't think Paul knows about _all_ libraries that _use_ the PP library.


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