/* * * Copyright (c) 1998-2002 * John Maddock * * Use, modification and distribution are subject to the * Boost Software License, Version 1.0. (See accompanying file * LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) * */ /* * LOCATION: see http://www.boost.org for most recent version. * FILE regex_format.hpp * VERSION see * DESCRIPTION: Provides formatting output routines for search and replace * operations. Note this is an internal header file included * by regex.hpp, do not include on its own. */ #ifndef BOOST_REGEX_V5_REGEX_MERGE_HPP #define BOOST_REGEX_V5_REGEX_MERGE_HPP namespace boost{ template inline OutputIterator regex_merge(OutputIterator out, Iterator first, Iterator last, const basic_regex& e, const charT* fmt, match_flag_type flags = match_default) { return regex_replace(out, first, last, e, fmt, flags); } template inline OutputIterator regex_merge(OutputIterator out, Iterator first, Iterator last, const basic_regex& e, const std::basic_string& fmt, match_flag_type flags = match_default) { return regex_merge(out, first, last, e, fmt.c_str(), flags); } template inline std::basic_string regex_merge(const std::basic_string& s, const basic_regex& e, const charT* fmt, match_flag_type flags = match_default) { return regex_replace(s, e, fmt, flags); } template inline std::basic_string regex_merge(const std::basic_string& s, const basic_regex& e, const std::basic_string& fmt, match_flag_type flags = match_default) { return regex_replace(s, e, fmt, flags); } } // namespace boost #endif // BOOST_REGEX_V5_REGEX_MERGE_HPP