[Boost-bugs] [Boost C++ Libraries] #11015: Bug with boost/graph/detail/edge.hpp

Subject: [Boost-bugs] [Boost C++ Libraries] #11015: Bug with boost/graph/detail/edge.hpp
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2015-02-11 17:17:41


#11015: Bug with boost/graph/detail/edge.hpp
-----------------------+------------------------------
 Reporter: mzartek@… | Type: Bugs
   Status: new | Milestone: To Be Determined
Component: None | Version: Boost 1.57.0
 Severity: Problem | Keywords:
-----------------------+------------------------------
 Hi,

 I found a bug and it has not been solved yet (i searched on the latest
 source on the git repo), ok here it is:

 The bug is that the use of the header "boost/graph/detail/edge.hpp" alone
 in a program cause an error at the compilation:

 This error say that the "hash struct" is not a template class. After some
 searching i noticed that this "hash struct" is a template specialization,
 and the problem is that the "hash struct" generic template is not included
 in this file, i fixed it by adding the "boost/functional/hash/hash.hpp"
 header.

 I don't know if this fix could be enough, but it works for my use.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11015>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:17 UTC