prog.cpp: In function 'int main()':
prog.cpp:21:17: error: use of deleted function 'C Y<N>::x(TArgs&& ...) [with C = Foo; TArgs = {int, double}; int N = 0]'
y.x<Foo>(4, 2.2);
^
prog.cpp:16:5: note: declared here
Foo Y<0>::x<Foo>(int&& x, double&& y) = delete;
^