Boost C++ Libraries: Ticket #11925: using namely understandable placeholders https://svn.boost.org/trac10/ticket/11925 <p> <strong>Current situation:</strong> At the time, placeholders have rather generic names (_a,_1,_r1,...). That leads to code like this (from the error handling tutorial): </p> <p> &lt;&lt; _4 <em> what failed? &lt;&lt; construct&lt;std::string&gt;(_3, _2) </em> iterators to error-pos, end </p> <p> This is hardly self-explanatory code. </p> <p> <strong>Suggestion:</strong> change placeholder names to humanly understandable phrases, where possible. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11925 Trac 1.4.3 Nikita Kniazev <nok.raven@…> Thu, 07 Dec 2017 00:29:23 GMT <link>https://svn.boost.org/trac10/ticket/11925#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11925#comment:1</guid> <description> <p> I do not think it is a good idea to spoil the qi namespace with different aliases, but you can do it yourself if you want to. </p> <div class="wiki-code"><div class="code"><pre><span class="n">qi</span><span class="o">::</span><span class="n">_2_type</span> <span class="k">const</span> <span class="n">it_end_placeholder</span><span class="p">;</span> <span class="n">qi</span><span class="o">::</span><span class="n">_3_type</span> <span class="k">const</span> <span class="n">it_err_placeholder</span><span class="p">;</span> <span class="n">qi</span><span class="o">::</span><span class="n">_4_type</span> <span class="k">const</span> <span class="n">what_failed_placeholder</span><span class="p">;</span> </pre></div></div> </description> <category>Ticket</category> </item> <item> <dc:creator>Joel de Guzman</dc:creator> <pubDate>Wed, 13 Dec 2017 23:03:46 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/11925#comment:2 https://svn.boost.org/trac10/ticket/11925#comment:2 <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">wontfix</span> </li> </ul> Ticket