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 for constexpr variable templates


On 08/07/2014 09:22 AM, Andrew Sutton wrote:
         * pt.c (lookup_template_variable): Make the type unspecified if
         any template arguments are dependent.

This hunk is OK.

         * decl.c (cp_finish_decl): Don't check the initializer if it is
         value-dependent.

Why is this needed?

Jason


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