KASKADE 7 development version
Classes | Namespaces | Functions
fixfusion.hh File Reference
#include <boost/mpl/range_c.hpp>
#include <boost/fusion/algorithm.hpp>
#include <boost/fusion/sequence.hpp>

Go to the source code of this file.

Classes

struct  boost::fusion::result_of::make_range< First, Last, Sequence >
 A meta-function defining a boost::fusion iterator range from given sequence indices. More...
 

Namespaces

namespace  boost
 
namespace  boost::fusion
 
namespace  boost::fusion::result_of
 

Functions

template<class Seq1 , class Seq2 >
boost::fusion::zip_view< boost::fusion::vector< Seq1 &, Seq2 & > > zip2 (Seq1 &s1, Seq2 &s2)
 
template<class Seq1 , class Seq2 , class Func >
void for_each2 (Seq1 const &s1, Seq2 &s2, Func const &func)
 
template<int first, int last, class Functor >
void for_range (Functor &f)
 A half-open integer-range based for-loop. More...
 
template<class First , class Last >
boost::fusion::iterator_range< First, Last > make_iterator_range (First first, Last last)
 Constructs an iterator range from two static boost::fusion iterators. More...
 
template<int First, int Last, class Sequence >
boost::fusion::result_of::make_range< First, Last, Sequence >::type make_range (Sequence &s)
 Constructs a boost::fusion view that picks a certain range from a forward sequence. More...
 

Function Documentation

◆ for_each2()

template<class Seq1 , class Seq2 , class Func >
void for_each2 ( Seq1 const &  s1,
Seq2 &  s2,
Func const &  func 
)

◆ for_range()

template<int first, int last, class Functor >
void for_range ( Functor &  f)

A half-open integer-range based for-loop.

Definition at line 39 of file fixfusion.hh.

◆ make_iterator_range()

template<class First , class Last >
boost::fusion::iterator_range< First, Last > make_iterator_range ( First  first,
Last  last 
)

Constructs an iterator range from two static boost::fusion iterators.

Definition at line 47 of file fixfusion.hh.

Referenced by make_range().

◆ make_range()

template<int First, int Last, class Sequence >
boost::fusion::result_of::make_range< First, Last, Sequence >::type make_range ( Sequence &  s)

Constructs a boost::fusion view that picks a certain range from a forward sequence.

Definition at line 77 of file fixfusion.hh.

◆ zip2()

template<class Seq1 , class Seq2 >
boost::fusion::zip_view< boost::fusion::vector< Seq1 &, Seq2 & > > zip2 ( Seq1 &  s1,
Seq2 &  s2 
)

Definition at line 22 of file fixfusion.hh.