[LLVMbugs] [Bug 7669] New: "Cannot deduce non-type template argument with depth > 0" on boost::msm

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jul 19 03:31:03 PDT 2010


http://llvm.org/bugs/show_bug.cgi?id=7669

           Summary: "Cannot deduce non-type template argument with depth >
                    0" on boost::msm
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: chris at bubblescope.net
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com


The attached testcase, reduced from boost::msm, fails with the assertion:

SemaTemplateDeduction.cpp:103: clang::Sema::TemplateDeductionResult
DeduceNonTypeTemplateArgument(clang::Sema&, clang::NonTypeTemplateParmDecl*,
llvm::APSInt, clang::QualType, bool, clang::Sema::TemplateDeductionInfo&,
llvm::SmallVectorImpl<clang::DeducedTemplateArgument>&): Assertion
`NTTP->getDepth() == 0 && "Cannot deduce non-type template argument with depth
> 0"' failed.

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list