Boost logo

Boost :

From: Weapon Liu (weapon.liu_at_[hidden])
Date: 2006-12-16 00:16:11


Larry Evans wrote:
> On 12/15/2006 02:33 AM, Weapon Liu wrote:
>
>> Larry Evans wrote:
>>
> [snip]
>
>>> I think a "full fledged class" (a.k.a. FFC) can be done with mpl::fold
>>> and CRTP. Each method can be in a separate class, and each field may be
>>>
> [snip]
>
>> I'm really intrigued, Larry :-)
>> So, please.
>>
>
> See boost vault under Template Metaprogramming in tuple_methods_proto.cpp.
>
>
>> BTW. How do we handle the accessibility?
>>
>>
>
> I don't. Everything is public. Is that what you mean?
>
Sorry for not being clear :)
I meant, if we're gonna build a full-fledged class using this kinda
tricks, then how do we handle the accessibility of the member
functions/data. For example, how do we make a member private?
Anyway, I'm gonna take a look at the vault, thanks for the heads up,
Larry! :)


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