borland issues

- non working patch reverted
- a working one applied


[SVN r28982]
This commit is contained in:
Pavol Droba
2005-05-17 07:43:40 +00:00
parent 5ecf446070
commit 04a40de48d
2 changed files with 8 additions and 5 deletions

View File

@ -47,12 +47,7 @@ namespace boost {
find_format_store& operator=( FindResultT FindResult )
{
iterator_range<ForwardIteratorT>::operator=(FindResult);
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
format_result_type temp(m_Formatter(FindResult));
m_FormatResult=format_result_type(temp);
#else
m_FormatResult=m_Formatter(FindResult);
#endif
return *this;
}

View File

@ -41,6 +41,14 @@ namespace boost {
m_Format(begin(Format), end(Format)) {}
// Operation
#if BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x564))
template<typename Range2T>
result_type& operator()(const Range2T&)
{
return m_Format;
}
#endif
template<typename Range2T>
const result_type& operator()(const Range2T&) const
{