mirror of https://github.com/CGAL/cgal
Add noop for operator<< for handles of a Polyhedron (and let's improve)
This commit is contained in:
parent
9f0761fde4
commit
03734f4f18
|
|
@ -111,6 +111,10 @@ struct HDS_edge {
|
||||||
i.halfedge():i.halfedge()->opposite());
|
i.halfedge():i.halfedge()->opposite());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
friend std::ostream& operator<<(std::ostream& os, const HDS_edge& e)
|
||||||
|
{
|
||||||
|
return os;
|
||||||
|
}
|
||||||
private:
|
private:
|
||||||
Halfedge_handle halfedge_;
|
Halfedge_handle halfedge_;
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -111,6 +111,11 @@ namespace internal {
|
||||||
--*this;
|
--*this;
|
||||||
return tmp;
|
return tmp;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
friend std::ostream& operator<<(std::ostream& os, const Self& i)
|
||||||
|
{
|
||||||
|
return os;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -171,6 +176,11 @@ namespace internal {
|
||||||
{
|
{
|
||||||
return In_place_list_iterator<T,Alloc>(const_cast<T*>(node));
|
return In_place_list_iterator<T,Alloc>(const_cast<T*>(node));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
friend std::ostream& operator<<(std::ostream& os, const Self& i)
|
||||||
|
{
|
||||||
|
return os;
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -189,6 +199,7 @@ template <class T, class Alloc>
|
||||||
return reinterpret_cast<std::size_t>(ptr)/ sizeof(T);
|
return reinterpret_cast<std::size_t>(ptr)/ sizeof(T);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue