|
Boost : |
Subject: Re: [boost] [type_erasure] overloading macro
From: Steven Watanabe (watanabesj_at_[hidden])
Date: 2013-02-19 16:05:51
AMDG
On 02/19/2013 12:32 PM, Christophe Henry wrote:
>
>>> 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?
>
No.
> 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.
>
I don't know exactly what you're referring to.
I don't remember off hand how complete my rvalue
reference support is. I'll try to finish it
off after I implement a variadic BOOST_TYPE_ERASURE_FREE.
In Christ,
Steven Watanabe
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk