Boost logo

Boost :

From: Beman Dawes (beman_at_[hidden])
Date: 1999-12-31 09:07:14


At 07:29 PM 12/30/99 -0500, Dave Abrahams wrote:

>>>It seems to me that it ought to be changed to
>>>
>>> #if defined(BOOST_NO_MEMBER_TEMPLATES) \
>>> || !defined( BOOST_NO_MEMBER_TEMPLATE_FRIENDS )
>>> private:
>>
>> I don't see that. The point of making the privates public was to
>> allow member templates to work even when member template friends
>> didn't. So what is the point if there are no member templates at
>> all? Or am I missing something?
>
>If member templates are not supported, the private data members
should stay
>private. We only need to make them public when member templates are
>supported AND member template friends are unsupported. To rephrase,
we want
>to make them private if member templates are unsupported OR member
template
>friends are not unsupported.

Got it. Changed.

--Beman


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