Molassembler  1.0.0
Molecule graph and conformer library
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Scine::Molassembler::IteratorRange< Iter > Struct Template Reference

Homogeneous pair of iterators with begin and end member fns. More...

#include <IteratorRange.h>

Public Member Functions

 IteratorRange (Iter a, Iter b)
 
Iter begin () const
 
Iter end () const
 

Data Fields

Iter first
 
Iter second
 

Detailed Description

template<typename Iter>
struct Scine::Molassembler::IteratorRange< Iter >

Homogeneous pair of iterators with begin and end member fns.

Template Parameters
IterIterator type to store

A function returning two iterators as a semantic range can return this to make the function range-for compatible. Semantically, this class is little different from a std::pair with homogeneous template arguments.


The documentation for this struct was generated from the following file: