Boost C++ Libraries: Ticket #2867: Adding a get_expected_args member to format https://svn.boost.org/trac10/ticket/2867 <p> Some use-case of format will be handled in a easier fashion if the expected number fo arguments of a given format was available via a method. </p> <p> The attached patch proposed Ryan Gallagher and I is an eventual implementation for this feature request. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2867 Trac 1.4.3 Joel Falcou <joel.falcou@…> Wed, 18 Mar 2009 17:50:19 GMT attachment set https://svn.boost.org/trac10/ticket/2867 https://svn.boost.org/trac10/ticket/2867 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">format.patch</span> </li> </ul> <p> Eventual implementation patch </p> Ticket Joel Falcou <joel.falcou@…> Mon, 01 Jun 2009 08:09:08 GMT attachment set https://svn.boost.org/trac10/ticket/2867 https://svn.boost.org/trac10/ticket/2867 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">format.2.patch</span> </li> </ul> <p> Method renaming </p> Ticket Samuel Krempp Tue, 17 Nov 2009 22:49:16 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2867#comment:1 https://svn.boost.org/trac10/ticket/2867#comment:1 <ul> <li><strong>status</strong> <span class="trac-field-old">new</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> → <span class="trac-field-new">fixed</span> </li> </ul> <p> I checked the suggested member functions and implemented them plus one (suggested patch was not handling bound args correctly, format::bind_arg is quite different from operator% ) in revision 57734 </p> Ticket Samuel Krempp Wed, 18 Nov 2009 14:11:13 GMT <link>https://svn.boost.org/trac10/ticket/2867#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/2867#comment:2</guid> <description> <p> Actually, revision <a class="changeset" href="https://svn.boost.org/trac10/changeset/57734" title="adds functions returning number of expected (|remaining|fed|bound) ...">r57734</a> for the headers, <a class="changeset" href="https://svn.boost.org/trac10/changeset/57735" title="adds tests for new member functions expected_args remaining_args ...">r57735</a> for the added tests. </p> </description> <category>Ticket</category> </item> </channel> </rss>