Boost logo

Boost :

From: Daryle Walker (darylew_at_[hidden])
Date: 2004-08-29 21:05:00

On 8/28/04 4:25 AM, "Pavel Vozenilek" <pavel_vozenilek_at_[hidden]> wrote:

> "Jonathan Turkanis" wrote:
>> I've attached a version of base_from_member.hpp with configurable maximum
>> arity, defaulting to 10. If you need higher arity, you #define
>> BOOST_BASE_FROM_MEMBER_MAX_ARITY to an appropriate value before including the
>> header.
>> The same technique will work for streambuf wrapping.
> It may be better to use local iteration technique.
> Some preprocessors (e.g. BCB) have quite low limit
> on length of expanded macro (BCB has some 1-2kB).
> Local iteration is also faster on EDG based frontends.

Do you have an example of this alternate technique? (Or at least what I
should look up.)

> For base-from-member it is probably safe
> but streamsbufs may be harder.

Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT hotmail DOT com

Boost list run by bdawes at, gregod at, cpdaniel at, john at