Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 399035

Summary: Unresolved binding for non-type pack expansion
Product: [Tools] CDT Reporter: Nathan Ridge <zeratul976>
Component: cdt-indexerAssignee: Project Inbox <cdt-indexer-inbox>
Status: RESOLVED DUPLICATE QA Contact: Markus Schorn <mschorn.eclipse>
Severity: normal    
Priority: P3 CC: cdtdoug
Version: Next   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Nathan Ridge CLA 2013-01-24 22:50:56 EST
In the following code:


template <bool...>
struct A
{
    static const bool value = false;
};

template <bool... Args>
struct B
{
    static const bool value = A<Args...>::value;  // HERE
};


the pack expansion 'Args...' on the indicated line is not syntax-colored properly, suggesting that the name resolves to a ProblemBinding.

The code compiles fine with gcc/clang.
Comment 1 Nathan Ridge CLA 2013-01-25 02:36:43 EST
Duplicate of bug 382074. Sorry for the noise.

*** This bug has been marked as a duplicate of bug 382074 ***