SolidWallOfCode commented on a change in pull request #7476:
URL: https://github.com/apache/trafficserver/pull/7476#discussion_r574876414
##########
File path: proxy/hdrs/MIME.h
##########
@@ -987,6 +987,43 @@ struct MIMEFieldIter {
class MIMEHdr : public HdrHeapSDKHandle
{
public:
+ /** Iterator over fields in the header.
+ * This iterator should be stable over field deletes, but not insertions.
+ */
+ class iterator
+ {
+ using self_type = iterator; ///< Self reference types.
+
+ public:
+ iterator() = default;
+
+ // STL iterator compliance types.
+ using difference_type = void;
Review comment:
No, because it's not possible to compute a difference.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]