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: [C++ PATCH, RFC] PR c++/63959, continued


On 30 January 2015 at 23:06, Ville Voutilainen
<ville.voutilainen@gmail.com> wrote:
> Let's drop libstdc++, this discussion is about a test that doesn't
> really concern them.
>
> On 30 January 2015 at 22:51, Jason Merrill <jason@redhat.com> wrote:
>> The patch changes all the static_assert strings to "", which is not very
>> useful; let's keep the macro.
>
>
> Ok. How about this one? It reuses the macro and keeps the YES/NO, but
> utilizes intermediate classes that perform the type transformations for
> the TRY macros in a non-surprising c++ manner.

Just a slight alternative, use TRY in YES/NO as well. It doesn't
change the diagnostics
when such a check fails, apparently, but it's a tad neater. :)

Attachment: pr63959_8.diff
Description: Text document


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