[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kdevelop-bugs
Subject:    [Bug 294917] New: Parsing of default template arguments fails if they contain template parameters
From:       Marco Poletti <poletti.marco () gmail ! com>
Date:       2012-02-27 11:22:36
Message-ID: bug-294917-40295 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=294917

           Summary: Parsing of default template arguments fails if they
                    contain template parameters
           Product: kdevelop
           Version: git master
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: Language Support: CPP
        AssignedTo: kdevelop-bugs@kdevelop.org
        ReportedBy: poletti.marco@gmail.com


Version:           git master (using KDE 4.8.0) 
OS:                Linux

See the steps to reproduce below.
KDevelop gives parsing errors after the <T>

Reproducible: Always

Steps to Reproduce:
Parsing fails on this code (note that this is plain old C++, not C++11):


template <typename T>
void foo(const T& x) {
    (void) x;
}

template <typename T,
          void f(const T&) = foo<T> >
class C {
};



Expected Results:  
Parse it with no errors.

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

_______________________________________________
KDevelop-bugs mailing list
KDevelop-bugs@kdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic