예제 #1
0
파일: find.hpp 프로젝트: GDXN/fitsliberator
 inline iterator_range< 
     BOOST_STRING_TYPENAME range_iterator<Range1T>::type>
 find_last( 
     Range1T& Input, 
     const Range2T& Search)
 {
     return find(Input, last_finder(Search));
 }
예제 #2
0
 inline iterator_range< 
     BOOST_STRING_TYPENAME range_result_iterator<Range1T>::type>
 find_last( 
     Range1T& Input, 
     const Range2T& Search)
 {
     return last_finder(Search)(
         begin(Input),end(Input));
 }
예제 #3
0
파일: erase.hpp 프로젝트: AlexS2172/IVRM
 inline void erase_last( 
     SequenceT& Input,
     const RangeT& Search )
 {
     find_format( 
         Input, 
         last_finder(Search),
         empty_formatter(Input) );
 }
예제 #4
0
 inline iterator_range< 
     BOOST_STRING_TYPENAME result_iterator_of<Collection1T>::type>
 find_last( 
     Collection1T& Input, 
     const Collection2T& Search)
 {
     return last_finder(Search)(
         begin(Input),end(Input));
 }
예제 #5
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) );
 }
예제 #6
0
파일: find.hpp 프로젝트: GDXN/fitsliberator
 inline iterator_range< 
     BOOST_STRING_TYPENAME range_iterator<Range1T>::type>
 ifind_last( 
     Range1T& Input, 
     const Range2T& Search,
     const std::locale& Loc=std::locale())
 {
     return find(Input, last_finder(Search, is_iequal(Loc)));
 }
예제 #7
0
 inline iterator_range< 
     BOOST_STRING_TYPENAME result_iterator_of<Collection1T>::type>
 ifind_last( 
     Collection1T& Input, 
     const Collection2T& Search,
     const std::locale& Loc=std::locale())
 {
     return last_finder(Search, is_iequal(Loc))(
         begin(Input),end(Input));
 }
예제 #8
0
 inline void replace_last( 
     SequenceT& Input,
     const Collection1T& Search,
     const Collection2T& Format )
 {
     find_format( 
         Input, 
         last_finder(Search),
         const_formatter(Format) );
 }
예제 #9
0
파일: erase.hpp 프로젝트: AlexS2172/IVRM
 inline void ierase_last( 
     SequenceT& Input,
     const RangeT& Search,
     const std::locale& Loc=std::locale() )
 {
     find_format( 
         Input, 
         last_finder(Search, is_iequal(Loc)),
         empty_formatter(Input) );
 }
예제 #10
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) );
 }
예제 #11
0
파일: replace.hpp 프로젝트: Albermg7/boost
 inline void replace_last( 
     SequenceT& Input,
     const Range1T& Search,
     const Range2T& Format )
 {
     find_format( 
         Input, 
         last_finder(Search),
         const_formatter(Format) );
 }
예제 #12
0
파일: replace.hpp 프로젝트: Albermg7/boost
 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) );
 }
예제 #13
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) );
 }
예제 #14
0
파일: replace.hpp 프로젝트: Albermg7/boost
 inline void ireplace_last( 
     SequenceT& Input,
     const Range1T& Search,
     const Range2T& Format,
     const std::locale& Loc=std::locale() )
 {
     find_format( 
         Input, 
         last_finder(Search, is_iequal(Loc)),
         const_formatter(Format) );
 }
예제 #15
0
파일: replace.hpp 프로젝트: Albermg7/boost
 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) );
 }
예제 #16
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) );
 }
예제 #17
0
파일: replace.hpp 프로젝트: Albermg7/boost
 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) );
 }
예제 #18
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) );
 }
예제 #19
0
파일: replace.hpp 프로젝트: Albermg7/boost
 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) );
 }
예제 #20
0
            inline bool ends_with_iter_select( 
                ForwardIterator1T Begin, 
                ForwardIterator1T End, 
                ForwardIterator2T SubBegin,
                ForwardIterator2T SubEnd,
                PredicateT Comp,
                std::forward_iterator_tag)
            {
                if ( SubBegin==SubEnd )
                {
                    // empty subsequence check
                    return true;
                }

                iterator_range<ForwardIterator1T> Result
                    =last_finder( 
                        ::boost::make_iterator_range(SubBegin, SubEnd),
                        Comp)(Begin, End);

                return !Result.empty() && Result.end()==End;
            }