Closed DanielaE closed 6 years ago
I did some checks, and found no places where anyone is checking to see if these iterators are derived from std::iterator
, so I think that this is a benign change.
I'm a bit disturbed that there are no tests for these iterators (only tests for functions that create them), but this patch doesn't make that worse.
Therefore replace inheritance by lifting std::iterator's members into the derived class.
Signed-off-by: Daniela Engert dani@ngrt.de