All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends Macros Pages
Classes | Namespaces | Functions
singleton_iterator.hpp File Reference
#include <boost/iterator/iterator_facade.hpp>
#include <boost/optional/optional.hpp>
#include <boost/range/iterator_range.hpp>

Go to the source code of this file.

Classes

class  paal::utils::singleton_iterator< Elem >
 Iterator to range containing single element. More...
 

Namespaces

 paal
 global namespace of project.
 
 paal::utils
 Utils namespace.
 

Functions

template<typename Elem >
singleton_iterator< Elem > paal::utils::make_singleton_iterator_begin (Elem &&elem)
 function to create begin of singleton_iterator More...
 
template<typename Elem >
singleton_iterator< Elem > paal::utils::make_singleton_iterator_end ()
 function to create end of singleton_iterator More...
 
template<typename Elem >
auto paal::utils::make_singleton_range (Elem &&elem) -> decltype(boost::make_iterator_range(make_singleton_iterator_begin(std::forward< Elem >(elem)), make_singleton_iterator_end< Elem >()))
 function to create a singleton range More...
 

Detailed Description

Author
Robert Rosolek
Version
1.0
Date
2014-02-27

Definition in file singleton_iterator.hpp.