1 /*============================================================================= 2 Copyright (c) 2008 Dan Marsden 3 4 Use modification and distribution are subject to the Boost Software 5 License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at 6 http://www.boost.org/LICENSE_1_0.txt). 7 ==============================================================================*/ 8 9 #include <boost/fusion/include/vector.hpp> 10 11 namespace fusion = boost::fusion; 12 13 namespace 14 { 15 template<int n, int batch> 16 struct distinct 17 {}; 18 19 template<int batch> test()20 void test() 21 { 22 fusion::vector< 23 distinct<0, batch>, distinct<1, batch>, distinct<2, batch>, distinct<3, batch>, distinct<4, batch>, 24 distinct<5, batch>, distinct<6, batch>, distinct<7, batch>, distinct<8, batch>, distinct<9, batch> > v; 25 } 26 } 27 28 #include "./driver.hpp" 29