mirror of
https://github.com/boostorg/algorithm.git
synced 2025-07-01 15:00:59 +02:00
borland issues
- non working patch reverted - a working one applied [SVN r28982]
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
@ -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
|
||||
{
|
||||
|
Reference in New Issue
Block a user