We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents aa90dfb + 6287d24 commit 1c8b51bCopy full SHA for 1c8b51b
external/Carve/src/include/carve/mesh.hpp
@@ -731,10 +731,12 @@ class MeshSet {
731
732
public:
733
template <typename face_type>
734
- struct FaceIter
735
- : public std::iterator<std::random_access_iterator_tag, face_type> {
736
- typedef std::iterator<std::random_access_iterator_tag, face_type> super;
737
- typedef typename super::difference_type difference_type;
+ struct FaceIter {
+ typedef std::random_access_iterator_tag iterator_category;
+ typedef face_type value_type;
+ typedef std::ptrdiff_t difference_type;
738
+ typedef face_type* pointer;
739
+ typedef face_type& reference;
740
741
const MeshSet<ndim>* obj;
742
size_t mesh, face;
0 commit comments