Boost C++ Libraries: Ticket #4909: class path funcs taking iterators making poor assumption https://svn.boost.org/trac10/ticket/4909 <p> class path funcs taking iterators are assuming the value_type of the iterator is a character type. But it is perfectly natural to write something like path p(q.begin(), q.end()) where q is a path or a vector of strings, so the value type is a container. </p> <p> The fix is to add several overloads depending on the value_type of the iterator. </p> <p> The rule-of-thumb might be something like "if the operation has an overload of a single item of type T, it should also handle iteration over a sequence of T's. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/4909 Trac 1.4.3 Beman Dawes Mon, 05 Jan 2015 16:20:01 GMT status changed; resolution set https://svn.boost.org/trac10/ticket/4909#comment:1 https://svn.boost.org/trac10/ticket/4909#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">wontfix</span> </li> </ul> <p> The motivation for this change is not strong enough to justify deviating from the ISO File System Technical Specification. </p> <p> --Beman </p> Ticket