staticlib_io  1.2.11
 All Classes Namespaces Files Functions Variables
Classes | Namespaces | Functions
multi_source.hpp File Reference
#include <ios>
#include <vector>
#include "staticlib/config.hpp"
#include "staticlib/io/reference_source.hpp"
#include "staticlib/io/span.hpp"

Go to the source code of this file.

Classes

class  staticlib::io::multi_source< Range >
 Source wrapper that contains a range of sources to read data from. More...

Namespaces

namespace  staticlib
namespace  staticlib::io

Functions

template<typename Range , class = typename std::enable_if<!std::is_lvalue_reference<Range>::value>::type>
multi_source< Range > staticlib::io::make_multi_source (Range &&range)
 Factory function for creating multi sources, created source wrapper will own specified sources.
template<typename Range >
multi_source< std::vector
< reference_source< typename
Range::value_type > > > 
staticlib::io::make_multi_source (Range &range)
 Factory function for creating multi sources, created source wrapper will NOT own specified sources.