Add noop for operator<< for handles of a Polyhedron (and let's improve)

This commit is contained in:
Andreas Fabri 2025-05-14 15:38:22 +01:00
parent 9f0761fde4
commit 03734f4f18
2 changed files with 15 additions and 0 deletions

View File

@ -111,6 +111,10 @@ struct HDS_edge {
i.halfedge():i.halfedge()->opposite());
}
friend std::ostream& operator<<(std::ostream& os, const HDS_edge& e)
{
return os;
}
private:
Halfedge_handle halfedge_;
};

View File

@ -111,6 +111,11 @@ namespace internal {
--*this;
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));
}
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);
}
}