Date: Fri, 11 Mar 2016 19:33:53 +0000
> On 03/11/2016 02:18 PM, Nelson, Clark wrote:
> >> On 03/10/2016 02:30 AM, Agustín Bergé wrote:
> >>> For P0036, "Unary Folds and Empty Parameter Packs", maybe bump
> >>> `__cpp_fold_expressions`?
> >>
> >> No. If you want your code to be compatible for both C++14 and
> >> C++17, simply write the (previously implicit) default yourself.
> >> No need for an #ifdef.
> >
> > Agustin, do you still think a macro would be worthwhile for this?
>
> There are no fold-expressions in C++14. But bumping the macro is
> trivial and does no harm.
Excellent points. I think that sells it.
Clark
> >> On 03/10/2016 02:30 AM, Agustín Bergé wrote:
> >>> For P0036, "Unary Folds and Empty Parameter Packs", maybe bump
> >>> `__cpp_fold_expressions`?
> >>
> >> No. If you want your code to be compatible for both C++14 and
> >> C++17, simply write the (previously implicit) default yourself.
> >> No need for an #ifdef.
> >
> > Agustin, do you still think a macro would be worthwhile for this?
>
> There are no fold-expressions in C++14. But bumping the macro is
> trivial and does no harm.
Excellent points. I think that sells it.
Clark
Received on 2016-03-11 20:34:00