1// Copyright (C) 2007 Douglas Gregor 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) 5 6// See http://www.boost.org/libs/config for most recent version. 7 8// MACRO: BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS 9// TITLE: C++0x variadic templates unavailable 10// DESCRIPTION: The compiler does not support C++0x variadic templates 11 12namespace boost_no_cxx11_fixed_length_variadic_template_expansion_packs { 13 14template<char one, char two, char... Others> struct char_tuple {}; 15 16template<char... Args> struct super_class : public char_tuple<Args...> {}; 17 18int test() 19{ 20 super_class<'a', 'b', 'c', 'd'> sc; 21 (void)sc; 22 return 0; 23} 24 25} 26 27