]> git.saurik.com Git - apt.git/blobdiff - apt-pkg/cacheiterators.h
add more dpointer placeholders
[apt.git] / apt-pkg / cacheiterators.h
index 0be9368bd7103b6080d800781c073ea479bf0ca6..26070636e33ddbfc72af418d0e064bde06f99aeb 100644 (file)
@@ -293,6 +293,9 @@ class pkgCache::DepIterator : public Iterator<Dependency, DepIterator> {
        inline const char *CompType() const {return Owner->CompType(S->CompareOp);};
        inline const char *DepType() const {return Owner->DepType(S->Type);};
 
+       //Nice printable representation
+       friend std::ostream& operator <<(std::ostream& out, DepIterator D);
+
        inline DepIterator(pkgCache &Owner, Dependency *Trg, Version* = 0) :
                Iterator<Dependency, DepIterator>(Owner, Trg), Type(DepVer) {
                if (S == 0)