示例#1
0
 inline SequenceT erase_head_copy( 
     const SequenceT& Input,
     unsigned int N )
 {
     return find_format_copy( 
         Input,
         head_finder(N),
         empty_formatter( Input ) );
 }
示例#2
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT erase_tail_copy( 
     const SequenceT& Input,
     int N )
 {
     return find_format_copy( 
         Input,
         tail_finder(N),
         empty_formatter( Input ) );
 }
示例#3
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT erase_last_copy( 
     const SequenceT& Input,
     const RangeT& Search )
 {
     return find_format_copy( 
         Input, 
         last_finder(Search),
         empty_formatter(Input) );
 }
示例#4
0
 inline SequenceT erase_regex_copy( 
     const SequenceT& Input,
     const basic_regex<CharT, RegexTraitsT>& Rx,
     match_flag_type Flags=match_default )
 {
     return find_format_copy( 
         Input, 
         regex_finder( Rx, Flags ),
         empty_formatter( Input ) );
 }
示例#5
0
 inline SequenceT replace_tail_copy( 
     const SequenceT& Input,
     unsigned int N,
     const RangeT& Format )
 {
     return find_format_copy( 
         Input,
         tail_finder(N),
         const_formatter(Format) );
 }
示例#6
0
 inline SequenceT replace_head_copy( 
     const SequenceT& Input,
     unsigned int N,
     const CollectionT& Format )
 {
     return find_format_copy( 
         Input,
         head_finder(N),
         const_formatter(Format) );
 }
示例#7
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT ierase_last_copy( 
     const SequenceT& Input,
     const RangeT& Search,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy( 
         Input, 
         last_finder(Search, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#8
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT erase_nth_copy( 
     const SequenceT& Input,
     const RangeT& Search,
     int Nth )
 {
     return find_format_copy( 
         Input, 
         nth_finder(Search, Nth),
         empty_formatter(Input) );
 }
示例#9
0
 inline SequenceT replace_first_copy( 
     const SequenceT& Input,
     const Collection1T& Search,
     const Collection2T& Format )
 {
     return find_format_copy( 
         Input,
         first_finder(Search),
         const_formatter(Format) );
 }
示例#10
0
 inline SequenceT replace_last_copy( 
     const SequenceT& Input,
     const Range1T& Search,
     const Range2T& Format )
 {
     return find_format_copy( 
         Input,
         last_finder(Search),
         const_formatter(Format) );
 }
示例#11
0
 inline SequenceT replace_regex_copy( 
     const SequenceT& Input,
     const basic_regex<CharT, RegexTraitsT>& Rx,
     const std::basic_string<CharT, FormatStringTraitsT, FormatStringAllocatorT>& Format,
     match_flag_type Flags=match_default | format_default )
 {
     return find_format_copy( 
         Input,
         regex_finder( Rx, Flags ),
         regex_formatter( Format, Flags ) );
 }
示例#12
0
 inline SequenceT ireplace_first_copy( 
     const SequenceT& Input,
     const Collection2T& Search,
     const Collection1T& Format,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy( 
         Input,
         first_finder(Search, is_iequal(Loc)),
         const_formatter(Format) );
 }
示例#13
0
 inline OutputIteratorT erase_head_copy(
     OutputIteratorT Output,
     const RangeT& Input,
     unsigned int N )
 {
     return find_format_copy(
         Output,
         Input,
         head_finder(N),
         empty_formatter( Input ) );
 }
示例#14
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT erase_last_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search )
 {
     return find_format_copy(
         Output,
         Input,
         last_finder(Search),
         empty_formatter(Input) );
 }
示例#15
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT erase_range_copy( 
     const SequenceT& Input,
     const iterator_range<
         BOOST_STRING_TYPENAME 
             range_const_iterator<SequenceT>::type>& SearchRange )
 {
     return find_format_copy( 
         Input,
         range_finder(SearchRange),
         empty_formatter(Input) );
 }
示例#16
0
 inline SequenceT ireplace_last_copy( 
     const SequenceT& Input,
     const Range1T& Search,
     const Range2T& Format,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy( 
         Input,
         last_finder(Search, is_iequal(Loc)),
         const_formatter(Format) );
 }
示例#17
0
 inline SequenceT replace_nth_copy( 
     const SequenceT& Input,
     const Range1T& Search,
     unsigned int Nth,
     const Range2T& Format )
 {
     return find_format_copy( 
         Input,
         nth_finder(Search, Nth),
         const_formatter(Format) );
 }
示例#18
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT erase_tail_copy(
     OutputIteratorT Output,
     const RangeT& Input,
     int N )
 {
     return find_format_copy(
         Output,
         Input,
         tail_finder(N),
         empty_formatter( Input ) );
 }
示例#19
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT erase_nth_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     int Nth )
 {
     return find_format_copy(
         Output,
         Input,
         nth_finder(Search, Nth),
         empty_formatter(Input) );
 }
示例#20
0
 inline OutputIteratorT replace_last_copy(
     OutputIteratorT Output,
     const Collection1T& Input,
     const Collection2T& Search,
     const Collection3T& Format )
 {
     return find_format_copy(
         Output,
         Input,
         last_finder(Search),
         const_formatter(Format) );
 }
示例#21
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT ierase_last_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy(
         Output,
         Input,
         last_finder(Search, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#22
0
 inline OutputIteratorT erase_regex_copy(
     OutputIteratorT Output,
     const RangeT& Input,
     const basic_regex<CharT, RegexTraitsT>& Rx,
     match_flag_type Flags=match_default )
 {
     return find_format_copy(
         Output,
         Input,
         regex_finder( Rx, Flags ),
         empty_formatter( Input ) );
 }
示例#23
0
 inline OutputIteratorT replace_tail_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     unsigned int N,
     const Range2T& Format )
 {
     return find_format_copy(
         Output,
         Input,
         tail_finder(N),
         const_formatter(Format) );
 }
示例#24
0
 inline SequenceT replace_range_copy( 
     const SequenceT& Input,
     const iterator_range<
         BOOST_STRING_TYPENAME 
             range_const_iterator<SequenceT>::type>& SearchRange,
     const RangeT& Format)
 {
     return find_format_copy(
         Input,
         range_finder(SearchRange),
         const_formatter(Format));
 }
示例#25
0
 inline OutputIteratorT replace_last_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     const Range3T& Format )
 {
     return find_format_copy(
         Output,
         Input,
         last_finder(Search),
         const_formatter(Format) );
 }
示例#26
0
 inline OutputIteratorT replace_head_copy(
     OutputIteratorT Output,
     const Collection1T& Input,
     unsigned int N,
     const Collection2T& Format )
 {
     return find_format_copy(
         Output,
         Input,
         head_finder(N),
         const_formatter(Format) );
 }
示例#27
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT erase_range_copy(
     OutputIteratorT Output,
     const RangeT& Input,
     const iterator_range<
         BOOST_STRING_TYPENAME 
             range_const_iterator<RangeT>::type>& SearchRange )
 {
     return find_format_copy(
         Output,
         Input,
         range_finder(SearchRange),
         empty_formatter(Input) );
 }
示例#28
0
 inline OutputIteratorT ireplace_first_copy(
     OutputIteratorT Output,
     const Collection1T& Input,
     const Collection2T& Search,
     const Collection3T& Format,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy(
         Output,
         Input,
         first_finder(Search, is_iequal(Loc)),
         const_formatter(Format) );
 }
示例#29
0
 inline OutputIteratorT replace_nth_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     unsigned int Nth,
     const Range3T& Format )
 {
     return find_format_copy(
         Output,
         Input,
         nth_finder(Search, Nth),
         const_formatter(Format) );
 }
示例#30
0
 inline OutputIteratorT ireplace_last_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     const Range3T& Format,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy(
         Output,
         Input,
         last_finder(Search, is_iequal(Loc)),
         const_formatter(Format) );
 }