This is the mail archive of the gcc-bugs@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]

[Bug c++/34752] New: [4.3 regression] pointer to member rejected in variadic template


The following (IMHO valid) code snippet is rejected on mainline:

================================================================
struct A {};

template<int*...p>     struct B1;  // OK
template<int*...>      struct B2;  // OK
template<int A::*...p> struct B3;  // OK
template<int A::*...>  struct B4;  // error
================================================================

bug.cc:6: error: expected '>' before '...' token


-- 
           Summary: [4.3 regression] pointer to member rejected in variadic
                    template
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: rejects-valid, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34752


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