Re: [C++ PATCH] Implement P0028R4, C++17 using attribute namespaces without repetition

2016-09-13 Thread Jakub Jelinek
On Tue, Sep 13, 2016 at 11:40:20AM -0400, Jason Merrill wrote: > On Tue, Sep 13, 2016 at 4:03 AM, Jakub Jelinek wrote: > > This patch implements the P0028R4 C++17 enhancement. > > First I found a bug in the C++11 std attribute handling, where > > [[bitand, bitand::foo]] has been allowed, but not [

Re: [C++ PATCH] Implement P0028R4, C++17 using attribute namespaces without repetition

2016-09-13 Thread Jason Merrill
On Tue, Sep 13, 2016 at 4:03 AM, Jakub Jelinek wrote: > This patch implements the P0028R4 C++17 enhancement. > First I found a bug in the C++11 std attribute handling, where > [[bitand, bitand::foo]] has been allowed, but not [[foo::bitand]] > (i.e. the identifier after :: accepted only non-keywor

[C++ PATCH] Implement P0028R4, C++17 using attribute namespaces without repetition

2016-09-13 Thread Jakub Jelinek
Hi! This patch implements the P0028R4 C++17 enhancement. First I found a bug in the C++11 std attribute handling, where [[bitand, bitand::foo]] has been allowed, but not [[foo::bitand]] (i.e. the identifier after :: accepted only non-keyword and keyword identifiers but not alternative tokens, whil