fixing problems with vacpp.

[SVN r22443]
This commit is contained in:
Pavol Droba
2004-03-06 09:31:42 +00:00
parent 03705cb766
commit 6f22693df6
2 changed files with 22 additions and 22 deletions

View File

@ -33,9 +33,9 @@ namespace boost {
typedef BOOST_STRING_TYPENAME base_type::difference_type difference_type;
typedef BOOST_STRING_TYPENAME base_type::const_iterator const_iterator;
typedef BOOST_STRING_TYPENAME base_type::iterator iterator;
typedef match_results<iterator> match_results_type;
typedef boost::match_results<iterator> match_results_type;
// Contruction
// Construction
// Construction from the match result
regex_search_result( const match_results_type& MatchResults ) :

View File

@ -22,15 +22,6 @@ namespace boost {
// insert helpers -------------------------------------------------//
template< typename InputT, typename InsertT >
inline void insert(
InputT& Input,
BOOST_STRING_TYPENAME InputT::iterator At,
const InsertT& Insert )
{
insert( Input, At, begin(Insert), end(Insert) );
}
template< typename InputT, typename ForwardIteratorT >
inline void insert(
InputT& Input,
@ -41,6 +32,15 @@ namespace boost {
Input.insert( At, Begin, End );
}
template< typename InputT, typename InsertT >
inline void insert(
InputT& Input,
BOOST_STRING_TYPENAME InputT::iterator At,
const InsertT& Insert )
{
insert( Input, At, begin(Insert), end(Insert) );
}
// erase helper ---------------------------------------------------//
// Erase a range in the sequence
@ -153,16 +153,6 @@ namespace boost {
// replace helper -------------------------------------------------//
template< typename InputT, typename InsertT >
inline void replace(
InputT& Input,
BOOST_STRING_TYPENAME InputT::iterator From,
BOOST_STRING_TYPENAME InputT::iterator To,
const InsertT& Insert )
{
replace( Input, From, To, begin(Insert), end(Insert) );
}
template< typename InputT, typename ForwardIteratorT >
inline void replace(
InputT& Input,
@ -175,6 +165,16 @@ namespace boost {
Input, From, To, Begin, End );
};
template< typename InputT, typename InsertT >
inline void replace(
InputT& Input,
BOOST_STRING_TYPENAME InputT::iterator From,
BOOST_STRING_TYPENAME InputT::iterator To,
const InsertT& Insert )
{
replace( Input, From, To, begin(Insert), end(Insert) );
}
} // namespace detail
} // namespace algorithm
} // namespace boost