Compilation finished with errors:
source.cpp: In function 'int main()':
source.cpp:46:18: error: no matching function for call to 'foo::foo(int, int)'
source.cpp:46:18: note: candidates are:
source.cpp:33:3: note: template<class ... Args, class Dummy> foo::foo(Args&& ...)
source.cpp:33:3: note: template argument deduction/substitution failed:
source.cpp:26:5: error: wrong number of template arguments (3, should be 2)
In file included from /usr/include/c++/4.7/bits/move.h:57:0,
from /usr/include/c++/4.7/bits/stl_pair.h:61,
from /usr/include/c++/4.7/bits/stl_algobase.h:65,
from /usr/include/c++/4.7/bits/char_traits.h:41,
from /usr/include/c++/4.7/ios:41,
from /usr/include/c++/4.7/ostream:40,
from /usr/include/c++/4.7/iostream:40,
from source.cpp:1:
/usr/include/c++/4.7/type_traits:784:12: error: provided for 'template<class, class> struct std::is_same'
source.cpp:19:3: note: foo::foo(const foo&)
source.cpp:19:3: note: candidate expects 1 argument, 2 provided
source.cpp:17:3: note: constexpr foo::foo()
source.cpp:17:3: note: candidate expects 0 arguments, 2 provided