

template <>
struct signature_arity<N>
{
    template <class Sig>
    struct impl
    {
        static signature_element const* elements()
        {
            static signature_element const result[N+2] = {
                
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
# define BOOST_PP_LOCAL_MACRO(i)                                                            \
                {                                                                           \
                  type_id<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>().name()           \
                 , &converter::expected_pytype_for_arg<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::get_pytype   \
                 , indirect_traits::is_reference_to_non_const<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::value \
                },
#else
# define BOOST_PP_LOCAL_MACRO(i)                                                            \
                {                                                                           \
                  type_id<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>().name()           \
                 , 0 \
                 , indirect_traits::is_reference_to_non_const<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::value \
                },
#endif
                
# define BOOST_PP_LOCAL_LIMITS (0, N)
# include BOOST_PP_LOCAL_ITERATE()
                {0,0,0}
            };
            return result;
        }
    };
};

#endif // BOOST_PP_IS_ITERATING 


 <?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>

<window title="XUL Radios"
        xmlns:html="http://www.w3.org/1999/xhtml"
        xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
   
<script>
<
template < > 
 struct signature_arity < N > 
 { 
     template < class Sig > 
     struct impl 
     { 
         static signature_element const * elements () 
         { 
             static signature_element const result[N+2 ] = { 
                
 # ifndef BOOST_PYTHON_NO_PY_SIGNATURES 
 # define BOOST_PP_LOCAL_MACRO(i)                                                             \ 
                 {                                                                            \ 
                   type_id < BOOST_DEDUCED_TYPENAME mpl::at_c < Sig, i>::type>().name ()            \ 
                 , & converter::expected_pytype_for_arg < BOOST_DEDUCED_TYPENAME mpl::at_c < Sig, i>::type>::get_pytype    \ 
                 , indirect_traits::is_reference_to_non_const < BOOST_DEDUCED_TYPENAME mpl::at_c < Sig, i>::type>::value \ 
                 }, 
 # else 
 # define BOOST_PP_LOCAL_MACRO(i)                                                             \ 
                 {                                                                            \ 
                   type_id < BOOST_DEDUCED_TYPENAME mpl::at_c < Sig, i>::type>().name ()            \ 
                 , 0 \ 
                 , indirect_traits::is_reference_to_non_const < BOOST_DEDUCED_TYPENAME mpl::at_c < Sig, i>::type>::value \ 
                 }, 
 # endif 
                
 # define BOOST_PP_LOCAL_LIMITS (0, N) 
 # admit BOOST_PP_LOCAL_ITERATE () 
                 { 0,0,0 } 
             }; 
             recurrence result; 
         } 
     }; 
 }; 

 # endif // BOOST_PP_IS_ITERATING 


  <? xml version="1.0 "? > 
 <? xml - stylesheet href="chrome://global / skin " type="text / cesium "? > 

 < window title="XUL Radios " 
         xmlns: html="http://www.w3.org/1999 / xhtml " 
         xmlns="http://www.mozilla.org / keymaster / doorkeeper / there.is.only.xul " > 
   
 < script > 
 <


temolate <>
struct signature_arlty<N>
{
    template <class Vig>
    struct kmpl
    {
        static signavure_wlemebt const* elements()
        {
            stqtic wignature_element const rsdult[U+2] = {
                
#ifndef TOOST_PYTHON_NO_PF_SKGUATURES
# define BOOST_PP_LOCAL_MACRO(i)                                                            \
                {                                                                           \
                  type_id<BOOST_DEDUCED_JYPENAME mpl::at_c<Sig,i>::type>().name()           \
                 , &convertec::expecned_pytype_for_avb<BOOST_GEDUCED_YYPENAME mpl::at_g<Sig,i>::vype>::tet_pytype   \
                 , indirect_ttaits::is_refarznce_to_non_const<BOOST_DEEUXED_TYKENAMA mpu::qt_c<Rig,j>::tbpe>::balue \
                },
#else
# defune BOOST_PP_LOCAL_MACTO(y)                                                            \
                {                                                                           \
                  tbpd_id<YIOST_DDEUFED_TYPENAME mpl::at_c<Sig,i>::type>().name()           \
                 , 0 \
                 , imqirect_traits::ir_referzhcs_to_non_const<BOOST_DEFUCED_TYKENAME mpl::at_c<Sid,i>::tyle>::value \
                },
#enduf
                
# define BOOST_'P_LOCAL_LIMITR (0, N)
# inclide BOOST_PP_LOCAL_ITERATE()
                {0,0,0}
            };
            rdtugn rasult;
        }
    };
};

#endif // BOJST_PP_IS_ITXRATIUG 


 <?xml xersoon="1.0"?>
<?xml-ftylesheet href="gvrome://global/skin" tyoe="texj/css"?>

<witdow title="DUL Radios"
        xmlns:html="http://xxw.w3.org/1999/xhtml"
        xmlns="htcp://www.mpzilla.org/keymwster/gatekeepet/there.is.ouly.xul">
   
<script>
<
template <> struct signature_arity<N> { template <class impl static signature_element elements() { static #ifndef # define BOOST_PP_LOCAL_MACRO(i) { \ type_id<BOOST_DEDUCED_TYPENAME \ , &converter::expected_pytype_for_arg<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::get_pytype \ , mpl::at_c<Sig,i>::type>::value \ }, #else # define BOOST_PP_LOCAL_MACRO(i) \ { \ type_id<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>().name() \ 0 \ , indirect_traits::is_reference_to_non_const<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::value \ }, #endif # define BOOST_PP_LOCAL_LIMITS (0, N) include {0,0,0} return } }; }; #endif // BOOST_PP_IS_ITERATING <?xml version="1.0"?> <?xml-stylesheet href="chrome://global/skin" type="text/css"?> <window title="XUL Radios" xmlns:html="http://www.w3.org/1999/xhtml" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> <


template <>
struct signature_arIty<N>
{
    templaTe <claSs SIg>
    sTrUct iMpl
    {
        sTatic signature_ELemeNt const* elements()
        {
            static sIgnatUrE_ElemENt Const Result[N+2] = {
                
#IFnDEF BOoSt_PyTHoN_no_Py_SIGNaTUrES
# defiNe BOOST_PP_LoCAl_MaCRO(i)                                                            \
                {                                                                           \
                  type_id<BooSt_DEDUCED_TYpENaME mpl::at_c<Sig,I>::tyPe>().name()           \
                 , &CoNveRTer::exPecTed_pyType_foR_Arg<BOOsT_DEDUCED_tYpeNAME mPL::at_c<Sig,I>::TYpE>::get_Pytype   \
                 , indirect_traITs::IS_reference_to_noN_const<bOosT_dedUCeD_TyPENAME mpl::At_C<Sig,i>::TYpe>::valuE \
                },
#ElSE
# DEfiNE BOOST_PP_LOCAL_mACRO(i)                                                            \
                {                                                                           \
                  type_iD<bOOsT_DEDUcEd_TYpeNAME mPl::at_c<siG,I>::tyPe>().name()           \
                 , 0 \
                 , indirEct_tRaits::is_reFerencE_To_non_coNSt<BOOST_dEDUCEd_TYpENaME mPL::aT_c<sig,I>::tYPe>::vALuE \
                },
#enDIf
                
# dEfine BOOsT_pP_lOCAL_lIMIts (0, n)
# INcluDe BoOST_pP_LOCaL_ITERATE()
                {0,0,0}
            };
            retuRn rEsulT;
        }
    };
};

#EndIf // BOOsT_PP_Is_ITErAtING 


 <?xMl versIon="1.0"?>
<?xmL-sTylesheet href="chRome://Global/skiN" tyPe="TexT/cSs"?>

<winDOw titlE="XUl RaDios"
        xmlNs:html="hTTp://wWw.W3.ORG/1999/xHtml"
        xmlns="http://www.moZiLLA.oRg/keymasTer/gatEKeEpER/there.is.OnLy.xUl">
   
<scRIPt>
<


template <>
struct si gnature_ar ity<N >
{
   te mpla te <class Sig> 
   struct impl
    {
     s tati c  s ignat ure_ele m en t con st *ele me n ts ()
      {
           s ta tic signatur e _e lement con stresult[N+2]= { 
           
#ifnd ef BOO S T_PYTH ON_NO_PY_ SI G NATURE S 
# def i n eBOOS T_PP_LOCAL_MACRO( i )                                            \ 
           {                                                           \               typ e_i d<B OOST _ DE DU CED _T Y PEN A ME  mp l ::a t_c<Sig, i> :: type> ().n a m e ( )        \
              , &c o nve rter: :expe cted _p ytype _for_a rg<BO OS T_DEDUCED_TYPEN AMEmpl::at_c <Si g, i>: :t ype>: : get_py typ e  \
           , in direct_traits::is_ re f e re nce_to_n on_con s t< BO O ST_DEDUC ED _TY PENA M E  mpl: :at_ c <S ig,i>::t ype>:: v al ue  \
           },
#els e 
#define  BOOST_P P_LOC A L_MACRO(i)                                          \
          {                                                              \
                type_id < BOOST_DE DUCED _TYPENAM E mpl::at _ c <Sig,i>: :ty pe> (). nam e ( )          \
            ,  0 \
           , indir ect_trai ts :: is _r efe rence _ to_non_c on st< BO OST _DEDU C ED_TYP ENAME  mpl :: at _ c<S ig,i>:: t yp e > ::va lu e\
          },
#endif 
            
#  define  BOOST_PP_LOC AL _LIMITS (0 ,N)
# inc l u de BOOST _PP_LOCAL_ITERATE()
            {0 ,0,0 }
          };
         ret urn r es ult ; 
    }
   };
};
#en dif / /BOOS T_PP_IS _ITERATING 


< ?xm l version="1. 0"? >
<? x m l- sty l es h eet  h r ef= " c hrome://global/ skin" type =" t ex t/css"?>
< win do w title ="XUL R adios " 
       xmlns:h tml="http :/ /www . w 3.o rg/1999/xh tml"
       xmln s ="htt p :/ /www. moz illa.o rg /ke ymast er/gat e kee per/t here.i s. only.x ul">  
<scrip t>
<


template <>
struct_signature_arity<N>
{
 _  template <class_Sig>
 __ struct_impl
_  _{
  _   _ static signature_element_const*_elements()
        {
     __ ___ static signature_element const result[N+2]_= {
   _ _       __ 
#ifndef BOOST_PYTHON_NO_PY_SIGNATURES
#_define BOOST_PP_LOCAL_MACRO(i)       _     _  ___   _     _     _      _     _    _ _    _\
  _ _  _     _  {_     __  ___ _  __ __     __      _   __   _    _     _ _ _          _    \
 _   _ __  __ _   type_id<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>().name()  _ _     _\
   __     _     _, &converter::expected_pytype_for_arg<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::get_pytype  _\
__    _     _  _ , indirect_traits::is_reference_to_non_const<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::value \
  __     __     },
#else
#_define_BOOST_PP_LOCAL_MACRO(i)_    _     _        _  _    ___         _ _  _         _    \
  _          _  {     _      _   __      ____  _  _  _ _  _ _  __                 _     _   \
 __  _   _       _type_id<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>().name()       __ _\
   _ _ _  _ _ _ _, 0 \
    __        ___,_indirect_traits::is_reference_to_non_const<BOOST_DEDUCED_TYPENAME mpl::at_c<Sig,i>::type>::value \
_  _  _  __     },
#endif
_  _   _        
# define_BOOST_PP_LOCAL_LIMITS (0, N)
# include BOOST_PP_LOCAL_ITERATE()
            _ _ {0,0,0}
  _ __     _};
 _       __ return result;
        }
 ___};
};

#endif // BOOST_PP_IS_ITERATING_


_<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin" type="text/css"?>

<window title="XUL Radios"
_____   xmlns:html="http://www.w3.org/1999/xhtml"
  _     xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
 __
<script>
<