#include <cstring>
#include <functional>
#include <ios>
#include <map>
#include <string>
#include <vector>
#include "staticlib/config.hpp"
#include "staticlib/io/io_exception.hpp"
#include "staticlib/io/buffered_source.hpp"
#include "staticlib/io/reference_source.hpp"
#include "staticlib/io/span.hpp"
Go to the source code of this file.
Functions |
| template<typename Source , class = typename std::enable_if<!std::is_lvalue_reference<Source>::value>::type> |
| replacer_source< Source > | staticlib::io::make_replacer_source (Source &&source, std::map< std::string, std::string > values, std::function< void(const std::string &)> on_error) |
| | Factory function for creating replacer sources, created source wrapper will own specified source.
|
| template<typename Source > |
replacer_source
< reference_source< Source > > | staticlib::io::make_replacer_source (Source &source, std::map< std::string, std::string > values, std::function< void(const std::string &)> on_error) |
| | Factory function for creating replacer sources, created source wrapper will NOT own specified source.
|