Boost C++ Libraries: Ticket #11955: boost/graph/adjacency_matrix.hpp triggers deprecated code https://svn.boost.org/trac10/ticket/11955 <p> I understand that this probably doesn't seem important, since many other files are similar in boost::graph. </p> <p> It requires <code>functional/hash.hpp</code>, and, more importantly and only as of recently, <code>type_traits/ice.hpp</code>. However, the latter now is deprecated. </p> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/11955 Trac 1.4.3 anonymous Thu, 04 Feb 2016 15:28:15 GMT <link>https://svn.boost.org/trac10/ticket/11955#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11955#comment:1</guid> <description> <p> My original subject line read "boost/graph/adjacency_matrix.hpp cannot be included by itself" -- I changed it but didn't change the description, so please don't be confused. </p> </description> <category>Ticket</category> </item> <item> <author>Murray Cumming <murrayc@…></author> <pubDate>Tue, 09 Aug 2016 08:57:13 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11955#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11955#comment:2</guid> <description> <p> What's the actual compiler warning that you see? </p> </description> <category>Ticket</category> </item> <item> <author>Murray Cumming <murrayc@…></author> <pubDate>Tue, 09 Aug 2016 08:58:19 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11955#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11955#comment:3</guid> <description> <p> Maybe this is a duplicate of <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11880"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11880</a> </p> </description> <category>Ticket</category> </item> <item> <author>fiesh@…</author> <pubDate>Tue, 09 Aug 2016 09:46:29 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11955#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11955#comment:4</guid> <description> <p> It isn't, the following code does not compile: </p> <pre class="wiki">#include &lt;boost/graph/adjacency_matrix.hpp&gt; int main() {} </pre><p> it results in </p> <pre class="wiki">In file included from /usr/include/boost/graph/adjacency_matrix.hpp:26:0, from a.cpp:1: /usr/include/boost/graph/detail/edge.hpp:111:10: error: ‘hash’ is not a class template struct hash&lt;boost::detail::edge_desc_impl&lt;D, V&gt; &gt; </pre> </description> <category>Ticket</category> </item> <item> <author>Murray Cumming <murrayc@…></author> <pubDate>Tue, 09 Aug 2016 10:28:12 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11955#comment:5 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11955#comment:5</guid> <description> <p> Thanks. </p> <p> The use of deprecated ice.hpp is one problem. That does seem to be a duplicate of <a class="ext-link" href="https://svn.boost.org/trac/boost/ticket/11880"><span class="icon">​</span>https://svn.boost.org/trac/boost/ticket/11880</a> and is fixed in <a class="ext-link" href="https://github.com/boostorg/graph/commit/1d5f43d9f6e8a5295bad7593db942cc755eb664c"><span class="icon">​</span>https://github.com/boostorg/graph/commit/1d5f43d9f6e8a5295bad7593db942cc755eb664c</a> </p> <p> The use of functional/hash.hpp (not deprecated)? without an include seems to have been fixed here: <a class="ext-link" href="https://github.com/boostorg/graph/commit/6e1ed79cbc6a07ed7732dace466f1ea344d97dec"><span class="icon">​</span>https://github.com/boostorg/graph/commit/6e1ed79cbc6a07ed7732dace466f1ea344d97dec</a> </p> <p> Both fixes are likely to appear in boost 1.62 because they are now in the master branch. </p> </description> <category>Ticket</category> </item> <item> <author>fiesh@…</author> <pubDate>Tue, 09 Aug 2016 10:38:46 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/11955#comment:6 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/11955#comment:6</guid> <description> <p> Ah, then it should be fine, thanks! </p> </description> <category>Ticket</category> </item> </channel> </rss>