Boost C++ Libraries: Ticket #2678: poor programming style in boost::program_options examples https://svn.boost.org/trac10/ticket/2678 <p> The examples all contain lines similar to the following: </p> <p> cout &lt;&lt; desc &lt;&lt; "\n"; </p> <p> The use of "\n" is poor programming style, and should be replaced with std::endl; </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/2678 Trac 1.4.3 Marshall Clow Fri, 23 Jan 2009 19:31:37 GMT component changed; owner set https://svn.boost.org/trac10/ticket/2678#comment:1 https://svn.boost.org/trac10/ticket/2678#comment:1 <ul> <li><strong>owner</strong> set to <span class="trac-author">Vladimir Prus</span> </li> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">program_options</span> </li> </ul> Ticket Vladimir Prus Fri, 23 Jan 2009 19:42:17 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/2678#comment:2 https://svn.boost.org/trac10/ticket/2678#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">invalid</span> </li> </ul> <p> The difference between "\n" and std::endl is so small that it does not justify any effort being spent on this matter. </p> Ticket