Boost logo

Boost :

From: vicente.botet (vicente.botet_at_[hidden])
Date: 2008-04-06 17:13:33

Hi Vladimir,

----- Original Message -----
From: <Vladimir.Batov_at_[hidden]>
To: <boost_at_[hidden]>
Sent: Sunday, April 06, 2008 9:35 PM
Subject: Re: [boost] Review Request: Generalization of the Pimpl idiom

> ...
>> By the way, do you plan to parameterize the number of arguments allowed,
>> using maybe preprocessor metaprogramming? Yes I know that this is quite
> ugly,
>> but do not limit the user of the library.
> Can you show me it could be done. I've started playing with boost::mpl but
> still do not see I could apply it for variable arguments.

No, you can't have variadic templates with template metaprogramming. Sorry,
you should use PREPROCESSOR programming. I have never use it yet, but
waiting from variadic templates it seams the single way.

> ...
>> Let me know if I can help you with the shared memory
>> issues.
> That'd be great. I'd integrate and reflect that in the header. If you go
> ahead with that, please wrap that in
> #if 1.35 < BOOST_VERSION
> #endif
> so that it still works with older versions of Boost that I have to use.
I was proposing to help you with the shared memory issues, not to do it. Any
way, I could start with the first ideas, but I can not manage with the

> Thanks,
> Vladimir.

Vicente Juan Botet Escriba

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