
2 Jun
2004
2 Jun
'04
10:49 a.m.
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.