[SG10] New draft of Jacksonville additions
Richard Smith
richard at metafoo.co.uk
Thu Mar 17 06:20:51 CET 2016
On 16 Mar 2016 6:14 p.m., "Nelson, Clark" <clark.nelson at intel.com> wrote:
>
> > On 03/14/2016 07:19 PM, Nelson, Clark wrote:
> > > The only question that doesn't seem to have been settled yet is
> > the
> > > name of the macro for this-capture. The contenders seem to be:
> > >
> > > __cpp_capture_this
> > > __cpp_capture_star_this
> > >
> > > Different people have spoken in favor of each. Let the argument
> > begin
> > > in earnest.
> >
> > It seems to me that _star_this is clearer, since we could already
> > capture 'this'.
>
> Hmm. I was expecting rather more traffic on this topic. In particular,
> John seemed to have a distinct preference, with rationale, for the
> shorter, simpler name.
>
> Does no one else have a preference?
I'm fine with _star_this. The _this form seems odd, since we could always
capture this.
> > I haven't noticed discussion of the enum class change. Perhaps
> > __cpp_enum_class_init?
>
> No, it wasn't discussed on the reflector, but the document does have
> my rationale for omitting it. Is it flawed?
It seems right to me. If you want to cope with older compilers, use a cast
rather than list-initialization.
> Clark
> _______________________________________________
> Features mailing list
> Features at isocpp.open-std.org
> http://www.open-std.org/mailman/listinfo/features
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.open-std.org/pipermail/features/attachments/20160316/68b10708/attachment.html
More information about the Features
mailing list