Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

Iterators.h File Reference

Utilities for wrapping Iterators as long as we have no std::ranges. TODO should be moved to a central location and discarded once we have C++20. More...

#include <iosfwd>
#include <iterator>
#include <utility>

Go to the source code of this file.

Classes

class  ogdf::Range< IT >
 Simple before-C++20 version for std::ranges::ref_view. More...
 
class  ogdf::ZipIterator< IT1, IT2 >
 Simple before-C++20 version for std::ranges::zip_view. More...
 

Namespaces

 ogdf
 The namespace for all OGDF objects.
 

Detailed Description

Utilities for wrapping Iterators as long as we have no std::ranges. TODO should be moved to a central location and discarded once we have C++20.

Author
Simon D. Fink ogdf@.nosp@m.niko.nosp@m..fink.nosp@m..bay.nosp@m.ern
License:
This file is part of the Open Graph Drawing Framework (OGDF).
Copyright (C)
See README.md in the OGDF root directory for details.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License Version 2 or 3 as published by the Free Software Foundation; see the file LICENSE.txt included in the packaging of this file for details.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/copyleft/gpl.html

Definition in file Iterators.h.