workaroung a bug in g++ 4.4

This commit is contained in:
Sébastien Loriot 2016-11-30 08:48:22 +01:00
parent 04819599cd
commit 5b61aa18a8
1 changed files with 15 additions and 0 deletions

View File

@ -308,6 +308,21 @@ public:
} // namespace detail
} // namespace CGAL
namespace std{
// workaround a bug detected on at least g++ 4.4 where boost::next(Iterator)
// is picked as a candidate for next(h,g)
template <typename Tr>
struct iterator_traits< CGAL::detail::TDS2_halfedge_descriptor<Tr> >
{
typedef void* iterator_category;
typedef void* difference_type;
typedef void* value_type;
typedef void* reference;
};
} // end of namespace std
namespace boost {
template <class GT, class TDS>