This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Add macro DISABLE_COPY_AND_ASSIGN


On Sat, Sep 9, 2017 at 2:45 AM, Yao Qi <qiyaoltc@gmail.com> wrote:
> On Fri, Aug 11, 2017 at 3:14 PM, Pedro Alves
>> Yeah, this is a macro that lots of projects out there reinvent,
>> can't imagine it being very controversial.
>>
>> I could have used this today in another spot in gdb.
>>
>> The patch as is touches areas with different maintainers, it
>> may have fallen victim of diffusion of responsibility.
>>
>> Could we get at least the ansidecl.h change in, so we can
>> start using it in gdb?  CCing Ian as a libiberty maintainer.
>
> Hi Ian,
> I just talked with you about this patch.  You are cc'ed.  Could you
> take a look at the change in include/ansidecl.h?  Then, we can use it
> in different
> projects, gcc, gdb and gold.

The patch to include/ansidecl.h is basically OK.  Please add an
example in the comment showing how to use it: after `private:`, and
with a trailing semicolon.  Thanks.

The patches to the other files will have to be approved by the
relevant maintainers.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]