/////////////////////////////////////////////////////////////////////////////// // deduce_domain_n.hpp // Definitions of common_domain[n] and deduce_domain[n] class templates. // // Copyright 2008 Eric Niebler. Distributed under the Boost // Software License, Version 1.0. (See accompanying file // LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) template struct common_domain3 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef common3 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain3 : common_domain3< typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain4 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef common4 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain4 : common_domain4< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain5 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef typename common_domain2::type common5; typedef common5 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain5 : common_domain5< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain6 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef typename common_domain2::type common5; typedef typename common_domain2::type common6; typedef common6 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain6 : common_domain6< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain7 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef typename common_domain2::type common5; typedef typename common_domain2::type common6; typedef typename common_domain2::type common7; typedef common7 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain7 : common_domain7< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain8 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef typename common_domain2::type common5; typedef typename common_domain2::type common6; typedef typename common_domain2::type common7; typedef typename common_domain2::type common8; typedef common8 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain8 : common_domain8< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain9 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef typename common_domain2::type common5; typedef typename common_domain2::type common6; typedef typename common_domain2::type common7; typedef typename common_domain2::type common8; typedef typename common_domain2::type common9; typedef common9 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain9 : common_domain9< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {}; template struct common_domain10 { typedef A0 common1; typedef typename common_domain2::type common2; typedef typename common_domain2::type common3; typedef typename common_domain2::type common4; typedef typename common_domain2::type common5; typedef typename common_domain2::type common6; typedef typename common_domain2::type common7; typedef typename common_domain2::type common8; typedef typename common_domain2::type common9; typedef typename common_domain2::type common10; typedef common10 type; BOOST_PROTO_ASSERT_VALID_DOMAIN(type); }; template struct deduce_domain10 : common_domain10< typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type , typename domain_of::type > {};