Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.

tools/build/v2/test/echo_args.jam

rule echo_args ( a b ? c ? : d + : e * )
{
    ECHO a= $(a) b= $(b) c= $(c) ":" d= $(d) ":" e= $(e) ;
}

rule echo_varargs ( a b ? c ? : d + : e * : * )
{
    ECHO a= $(a) b= $(b) c= $(c) ":" d= $(d) ":" e= $(e)
      ": rest= "$(4[1]) $(4[2])
      ": "$(5[1]) $(5[2])
      ": "$(6[1]) $(6[2])
      ": "$(7[1]) $(7[2])
      ": "$(8[1]) $(8[2])
      ": "$(9[1]) $(9[2]) ;
}