Is there any example using an adjacency_list with hash_setS for
EdgeList ?
I think there is a mistake in adjacency_list.hpp:21:
// ======================
#if !defined BOOST_NO_HASH
#include // instead of ?
#endif
// ======================
I'm using gcc 4.0.2 with boost 1.33.0 and I can't compile a simple
example using adjacency_list with hash_setS:
// ======================
# if defined __cplusplus
# if defined __GNUC__ && __GNUC__ >= 3
# include
# include
# if __GNUC__ >= 4 || __GNUC_MINOR__ >= 2
namespace std {
using ::__gnu_cxx::hash;
using ::__gnu_cxx::hash_set;
using ::__gnu_cxx::hash_map;
}
# endif
# else
# include
# include
# endif /* defined __GNUC__ and __GNUC__ == 3 */
# endif /* defined __cplusplus */
#define BOOST_HAS_HASH 1 // for boost::hash_setS
#include
#include
using namespace boost;
int main()
{
typedef adjacency_list Graph;
Graph g;
}
// ==========================
--
Johan