Subject: Re: [boost] MSVC warnings for BOOST_PP_IS_EMPTY in Boost.Phoenix
From: Andrey Semashev (andrey.semashev_at_[hidden])
Date: 2015-03-11 03:49:04
On Wed, Mar 11, 2015 at 10:29 AM, Damien Buhl <damien.buhl_at_[hidden]> wrote:
> On 11/03/2015 08:18, Andrey Semashev wrote:
>> On Wed, Mar 11, 2015 at 10:11 AM, Damien Buhl <damien.buhl_at_[hidden]> wrote:
>>> // Without BOOST_PP_VARIADICS support :
>>> (BOOST_FUSION_ADAPT_AUTO, name)
>>> (BOOST_FUSION_ADAPT_AUTO, age)
>>> Both signatures works on BOOST_PP_VARIADICS enabled compilers. Actually
>>> BOOST_FUSION_ADAPT_AUTO expands to BOOST_PP_EMPTY().
>> Perhaps, 'auto' would be shorter?
>> (auto, name)
>> (auto, age)
>> It also looks kind of similar to C++14 lambdas.
> That looks nice, and it may be great, but I'm a bit concerned in giving
> a slight different meaning than the official one to a standard keyword.
Could you describe the difference?
Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk