示例#1
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void erase_head( 
     SequenceT& Input,
     int N )
 {
     find_format( 
         Input, 
         head_finder(N),
         empty_formatter( Input ) );
 }
示例#2
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void erase_last( 
     SequenceT& Input,
     const RangeT& Search )
 {
     find_format( 
         Input, 
         last_finder(Search),
         empty_formatter(Input) );
 }
示例#3
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void erase_tail( 
     SequenceT& Input,
     int N )
 {
     find_format( 
         Input, 
         tail_finder(N),
         empty_formatter( Input ) );
 }
示例#4
0
 inline SequenceT erase_head_copy( 
     const SequenceT& Input,
     unsigned int N )
 {
     return find_format_copy( 
         Input,
         head_finder(N),
         empty_formatter( Input ) );
 }
示例#5
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void erase_all( 
     SequenceT& Input,
     const RangeT& Search )
 {
     find_format_all( 
         Input, 
         first_finder(Search),
         empty_formatter(Input) );
 }
示例#6
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT erase_all_copy( 
     const SequenceT& Input,
     const RangeT& Search )
 {
     return find_format_all_copy( 
         Input, 
         first_finder(Search),
         empty_formatter(Input) );
 }
示例#7
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 ) );
 }
示例#8
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void erase_nth( 
     SequenceT& Input,
     const RangeT& Search,
     int Nth )
 {
     find_format( 
         Input, 
         nth_finder(Search, Nth),
         empty_formatter(Input) );
 }
示例#9
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) );
 }
示例#10
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline SequenceT ierase_all_copy( 
     const SequenceT& Input,
     const RangeT& Search,
     const std::locale& Loc=std::locale() )
 {
     return find_format_all_copy( 
         Input, 
         first_finder(Search, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#11
0
 inline void erase_all_regex( 
     SequenceT& Input,
     const basic_regex<CharT, RegexTraitsT>& Rx,
     match_flag_type Flags=match_default )
 {
     find_format_all( 
         Input, 
         regex_finder( Rx, Flags ),
         empty_formatter( Input ) );
 }
示例#12
0
 inline SequenceT erase_all_regex_copy( 
     const SequenceT& Input,
     const basic_regex<CharT, RegexTraitsT>& Rx,
     match_flag_type Flags=match_default )
 {
     return find_format_all_copy( 
         Input, 
         regex_finder( Rx, Flags ),
         empty_formatter( Input ) );
 }
示例#13
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void ierase_all( 
     SequenceT& Input,
     const RangeT& Search,
     const std::locale& Loc=std::locale() )
 {
     find_format_all( 
         Input, 
         first_finder(Search, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#14
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT erase_all_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search )
 {
     return find_format_all_copy(
         Output,
         Input,
         first_finder(Search),
         empty_formatter(Input) );
 }
示例#15
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void ierase_nth( 
     SequenceT& Input,
     const RangeT& Search,
     int Nth,
     const std::locale& Loc=std::locale() )
 {
     find_format( 
         Input, 
         nth_finder(Search, Nth, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#16
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 ) );
 }
示例#17
0
 inline SequenceT ierase_nth_copy( 
     const SequenceT& Input,
     const RangeT& Search,
     unsigned int Nth,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy( 
         Input, 
         nth_finder(Search, Nth, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#18
0
 inline SequenceT ierase_nth_copy( 
     const SequenceT& Input,
     const RangeT& Search,
     int Nth,
     const std::locale& Loc=std::locale() )
 {
     return ::lslboost::algorithm::find_format_copy( 
         Input, 
         ::lslboost::algorithm::nth_finder(Search, Nth, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#19
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 ) );
 }
示例#20
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline void erase_range( 
     SequenceT& Input,
     const iterator_range<
         BOOST_STRING_TYPENAME 
             range_iterator<SequenceT>::type>& SearchRange )
 {
     find_format( 
         Input, 
         range_finder(SearchRange),
         empty_formatter(Input) );
 }
示例#21
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) );
 }
示例#22
0
 inline OutputIteratorT erase_all_regex_copy(
     OutputIteratorT Output,
     const RangeT& Input,
     const basic_regex<CharT, RegexTraitsT>& Rx,
     match_flag_type Flags=match_default )
 {
     return find_format_all_copy(
         Output,
         Input,
         regex_finder( Rx, Flags ),
         empty_formatter( Input ) );
 }
示例#23
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) );
 }
示例#24
0
文件: erase.hpp 项目: AlexS2172/IVRM
 inline OutputIteratorT ierase_all_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     const std::locale& Loc=std::locale() )
 {
     return find_format_all_copy(
         Output,
         Input,
         first_finder(Search, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#25
0
 inline OutputIteratorT ierase_nth_copy(
     OutputIteratorT Output,
     const Range1T& Input,
     const Range2T& Search,
     unsigned int Nth,
     const std::locale& Loc=std::locale() )
 {
     return find_format_copy(
         Output,
         Input,
         nth_finder(Search, Nth, is_iequal(Loc)),
         empty_formatter(Input) );
 }
示例#26
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) );
 }