C++QEDCore  2.100.2 (v2 Milestone 10 Development branch)
a framework for simulating open quantum dynamics – core
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Algorithm.h File Reference

Generic algorithms not found in either STL or Boost. More...

#include <boost/range/numeric.hpp>
+ Include dependency graph for Algorithm.h:

Go to the source code of this file.

Namespaces

 cpputils
 Namespace comprising otherwise hard-to-classify generic utilities.
 

Functions

template<typename SeqOfSeqs , typename Out_Iterator >
const Out_Iterator cpputils::concatenateViaIterator (const SeqOfSeqs &sOs, Out_Iterator out)
 Fills a container by output iterator with concatenated values taken subsequently from the input sequences. More...
 
template<typename SeqOfSeqs , typename Out >
const Out & cpputils::concatenate (const SeqOfSeqs &sOs, Out &&out)
 Fills a container of the necessary size with concatenated values taken subsequently from the input sequences. More...
 
template<typename Out , typename SeqOfSeqs >
const Out cpputils::concatenateGrow (const SeqOfSeqs &sOs)
 Fills an empty (default-constructed) container with concatenated values taken subsequently from the input sequences.
 

Detailed Description

Generic algorithms not found in either STL or Boost.

Definition in file Algorithm.h.