https://bugs.llvm.org/show_bug.cgi?id=49462
Bug ID: 49462
Summary: type alias that is not fully resolved in the error
message
Product: clang
Version: 11.0
Hardware: PC
OS: Linux
Status: NEW
Severity: enhancement
Priority: P
Component: C++17
Assignee: unassignedclangb...@nondot.org
Reporter: jonathan.poe...@gmail.com
CC: blitzrak...@gmail.com, erik.pilking...@gmail.com,
llvm-bugs@lists.llvm.org, richard-l...@metafoo.co.uk
with clang -std=c++17 test.cpp and
using l = std::make_index_sequence<9999>;
using f = drop_while<is_not_9992>;
emp_call<l>::f<f> x = 1;
test.cpp:202:19: error: no viable conversion from 'int' to 'emp_call<l>::f<f>'
(aka '_drop_while_result<0UL + sizeof...(xs)>')
emp_call<l>::f<f> x = 1;
^ ~
'_drop_while_result<0UL + sizeof...(xs)>' should be '_drop_while_result<6UL>'.
I couldn't make a code smaller than 200 lines because the error occurs from
9992 and above.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs