Boost logo

Boost :

Subject: Re: [boost] [type_erasure] overloading macro
From: Christophe Henry (christophe.j.henry_at_[hidden])
Date: 2013-02-19 15:32:53


>> I played a bit more with overloading and it started being annoying and
>> error-prone to add more overloads of concept_map (with more arguments)
>> so I wrote a small macro to 1) generate my overloads and 2) save
>> myself the time reading compiler errors when I use
>> BOOST_TYPE_ERASURE_MEMBER and make a mistake in the number of
>> arguments.
>
> Indeed. I just committed an update a couple of days ago
> to BOOST_TYPE_ERASURE_MEMBER to use variadic templates
> under C++11.

Oh I missed this :(
I just tried your newer version and it works.
Do you plan to support this also for C++03?

Before I plan another useless workaround, do you plan to support anytime
soon rvalue references in the concept map definition?
It'd be something useful.

Thanks,
Christophe


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