[llvm-bugs] [Bug 41560] New: Assertion `!Init->isValueDependent()' with c++17 deduction guides

via llvm-bugs llvm-bugs at lists.llvm.org
Mon Apr 22 11:02:21 PDT 2019


https://bugs.llvm.org/show_bug.cgi?id=41560

            Bug ID: 41560
           Summary: Assertion `!Init->isValueDependent()' with c++17
                    deduction guides
           Product: clang
           Version: trunk
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
          Assignee: unassignedclangbugs at nondot.org
          Reporter: mgrice at gmail.com
                CC: llvm-bugs at lists.llvm.org, neeilans at live.com,
                    richard-llvm at metafoo.co.uk

compile -cc1 --std=gnu++17

template <bool> struct a;
template <class b, class> class fbvector {
  static constexpr bool c = b ::e;
  fbvector(a<c>);
};
template <class f, class d = int> fbvector(f)->fbvector<typename f ::g, d>;

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190422/1cf4b7ac/attachment.html>


More information about the llvm-bugs mailing list