| 55 | typename FinderT, |
| 56 | typename FormatterT> |
| 57 | inline OutputIteratorT find_format_copy( |
| 58 | OutputIteratorT Output, |
| 59 | const RangeT& Input, |
| 60 | FinderT Finder, |
| 61 | FormatterT Formatter ) |
| 62 | { |
| 63 | // Concept check |
| 64 | BOOST_CONCEPT_ASSERT(( |
| 65 | FinderConcept< |
| 66 | FinderT, |
| 67 | BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type> |
| 68 | )); |
| 69 | BOOST_CONCEPT_ASSERT(( |
| 70 | FormatterConcept< |
| 71 | FormatterT, |
| 72 | FinderT,BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type> |
| 73 | )); |
| 74 | |
| 75 | iterator_range<BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type> lit_input(::boost::as_literal(Input)); |
| 76 | |
| 77 | return detail::find_format_copy_impl( |
| 78 | Output, |
| 79 | lit_input, |
| 80 | Formatter, |
| 81 | Finder( ::boost::begin(lit_input), ::boost::end(lit_input) ) ); |
| 82 | } |
| 83 | |
| 84 | //! Generic replace algorithm |
| 85 | /*! |
no test coverage detected