MCPcopy Create free account
hub / github.com/ablab/spades / find_format_all_copy

Function find_format_all_copy

ext/include/boost/algorithm/string/find_format.hpp:176–202  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

174 typename FinderT,
175 typename FormatterT>
176 inline OutputIteratorT find_format_all_copy(
177 OutputIteratorT Output,
178 const RangeT& Input,
179 FinderT Finder,
180 FormatterT Formatter)
181 {
182 // Concept check
183 BOOST_CONCEPT_ASSERT((
184 FinderConcept<
185 FinderT,
186 BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type>
187 ));
188 BOOST_CONCEPT_ASSERT((
189 FormatterConcept<
190 FormatterT,
191 FinderT,BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type>
192 ));
193
194 iterator_range<BOOST_STRING_TYPENAME range_const_iterator<RangeT>::type> lit_input(::boost::as_literal(Input));
195
196 return detail::find_format_all_copy_impl(
197 Output,
198 lit_input,
199 Finder,
200 Formatter,
201 Finder(::boost::begin(lit_input), ::boost::end(lit_input)));
202 }
203
204 //! Generic replace all algorithm
205 /*!

Callers 4

erase_all_copyFunction · 0.85
ierase_all_copyFunction · 0.85
replace_all_copyFunction · 0.85
ireplace_all_copyFunction · 0.85

Calls 4

as_literalFunction · 0.85
beginClass · 0.50
endClass · 0.50

Tested by

no test coverage detected