1 // (C) Copyright John Maddock 2008.
2 // Use, modification and distribution are subject to the
3 // Boost Software License, Version 1.0. (See accompanying file
4 // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
6 // See http://www.boost.org/libs/config for most recent version.
8 // MACRO: BOOST_NO_PARTIAL_SPECIALIZATION_IMPLICIT_DEFAULT_ARGS
9 // TITLE: Default arguments in partial specialization
10 // DESCRIPTION: The compiler chokes if a partial specialization relies on default arguments in the primary template.
12 namespace boost_no_partial_specialization_implicit_default_args{
19 template <class T1, class T2 = void>
30 void consume_variable(T const&){}
40 tag<one<int>, double> t4;