Boost C++ Libraries: Ticket #1158: optional named parameters https://svn.boost.org/trac10/ticket/1158 <p> Can templates notation be extended to use optional named parameters (onp). I am thinking in: </p> <p> Template definition: </p> <p> [template tname [a b c] </p> <blockquote> <p> [onp_1 default_1] [onp_2 default_2] </p> </blockquote> <p> This is the template body... use unamed forced parameters: [a] use onp parameters: [onp_1] (This prints the value or the default) [onp_1? if was used do this : if not do this ] </p> <p> ] </p> <p> IMO this is a good extension and is backward compatible with the current implementation. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/1158 Trac 1.4.3 Joel de Guzman Fri, 10 Aug 2007 07:17:15 GMT component changed https://svn.boost.org/trac10/ticket/1158#comment:1 https://svn.boost.org/trac10/ticket/1158#comment:1 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">quickbook</span> </li> </ul> Ticket Joel de Guzman Wed, 09 Apr 2014 01:58:37 GMT owner changed https://svn.boost.org/trac10/ticket/1158#comment:2 https://svn.boost.org/trac10/ticket/1158#comment:2 <ul> <li><strong>owner</strong> changed from <span class="trac-author">Joel de Guzman</span> to <span class="trac-author">Daniel James</span> </li> </ul> Ticket