https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117410

--- Comment #3 from Artyom Kolpakov <ddvamp007 at gmail dot com> ---
(In reply to Jonathan Wakely from comment #2)
> But without the variadic arguments, the functions have equivalent function
> parameter lists, so the constraints are checked. With the ellipsis, they do
> not have equivalent function parameter lists, so the constraints are ignored.

I could not find any mention in the standard of how exactly length of function
parameter list is determined. It is unclear whether and how an ellipsis or a
function parameter pack are included in this length ([dcl.fct#4]). It is also
unclear which parameter list is mentioned in [temp.func.order#6.1].

Is this a new core Issue?

Reply via email to