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

Function find_format_copy

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

Source from the content-addressed store, hash-verified

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 /*!

Callers 15

erase_range_copyFunction · 0.85
erase_first_copyFunction · 0.85
ierase_first_copyFunction · 0.85
erase_last_copyFunction · 0.85
ierase_last_copyFunction · 0.85
erase_nth_copyFunction · 0.85
ierase_nth_copyFunction · 0.85
erase_head_copyFunction · 0.85
erase_tail_copyFunction · 0.85
replace_range_copyFunction · 0.85
replace_first_copyFunction · 0.85
ireplace_first_copyFunction · 0.85

Calls 4

as_literalFunction · 0.85
find_format_copy_implFunction · 0.85
beginClass · 0.50
endClass · 0.50

Tested by

no test coverage detected