Boost C++ Libraries: Ticket #5603: the "range/any_range.hpp" header is not self-sufficient https://svn.boost.org/trac10/ticket/5603 <p> A file with only the following single line won't compile: </p> <p> #include &lt;boost/range/any_range.hpp&gt; </p> <p> One has to manually include also e.g. boost/range.hpp. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/5603 Trac 1.4.3 Nexus Sat, 27 Aug 2011 13:18:36 GMT <link>https://svn.boost.org/trac10/ticket/5603#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5603#comment:1</guid> <description> <p> Boost 1.47.0 still has this problem. Swapping the following two lines in any_range.hpp fixes the bug: </p> <ul><li>#include &lt;boost/range/detail/any_iterator.hpp&gt; </li><li>#include &lt;boost/range/concepts.hpp&gt; </li></ul> </description> <category>Ticket</category> </item> <item> <author>Olaf van der Spek <olafvdspek@…></author> <pubDate>Sat, 01 Oct 2011 13:08:56 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5603#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5603#comment:2</guid> <description> <p> Reordering includes sounds like a workaround. </p> </description> <category>Ticket</category> </item> <item> <author>redboltz@…</author> <pubDate>Fri, 19 Oct 2012 20:37:30 GMT</pubDate> <title>attachment set https://svn.boost.org/trac10/ticket/5603 https://svn.boost.org/trac10/ticket/5603 <ul> <li><strong>attachment</strong> → <span class="trac-field-new">5603_add_include.patch</span> </li> </ul> Ticket Takatoshi Kondo <redboltz@…> Fri, 19 Oct 2012 20:40:39 GMT <link>https://svn.boost.org/trac10/ticket/5603#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5603#comment:3</guid> <description> <p> I meet the same problem. As someone reported in <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/7293" title="#7293: Bugs: any_range.hpp does not compile any more (closed: duplicate)">#7293</a>, Boost 1.51.1 still has this problem. I attached the patch that adds include files. </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Nathan Ridge</dc:creator> <pubDate>Thu, 13 Dec 2012 07:55:50 GMT</pubDate> <title>status changed; resolution set https://svn.boost.org/trac10/ticket/5603#comment:4 https://svn.boost.org/trac10/ticket/5603#comment:4 <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> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/81890" title="[range] added missing includes to any_range.hpp and related files; ...">[81890]</a>) [range] added missing includes to any_range.hpp and related files; fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5603" title="#5603: Bugs: the &#34;range/any_range.hpp&#34; header is not self-sufficient (closed: fixed)">#5603</a> </p> Ticket Nathan Ridge Thu, 13 Dec 2012 07:57:11 GMT <link>https://svn.boost.org/trac10/ticket/5603#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5603#comment:5</guid> <description> <p> Fixed. Thanks for the patch! (I added a few more includes to make some more files stand on their own.) </p> </description> <category>Ticket</category> </item> <item> <dc:creator>Nathan Ridge</dc:creator> <pubDate>Fri, 21 Dec 2012 08:47:17 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/5603#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/5603#comment:6</guid> <description> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/82139" title="[range] merged bug fixes (r81890, refs #5603; r82071, refs #6103) from ...">[82139]</a>) [range] merged bug fixes (<a class="changeset" href="https://svn.boost.org/trac10/changeset/81890" title="[range] added missing includes to any_range.hpp and related files; ...">r81890</a>, refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/5603" title="#5603: Bugs: the &#34;range/any_range.hpp&#34; header is not self-sufficient (closed: fixed)">#5603</a>; <a class="changeset" href="https://svn.boost.org/trac10/changeset/82071" title="[range] corrected undesirable namespace nesting in ...">r82071</a>, refs <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/6103" title="#6103: Bugs: boost::range_detail vs. boost::range::range_detail compiler error (closed: fixed)">#6103</a>) from trunk </p> </description> <category>Ticket</category> </item> </channel> </rss>