{
std::pair<iterator, bool> res = m_Map.insert( value_type( key, mapped_type() ));
if ( res.second )
- ::f( const_cast<value_type&>(*res.first) );
+ f( const_cast<value_type&>(*res.first) );
return res.second;
}
iterator it = m_Map.find( key_type(key) );
if ( it == m_Map.end() )
return false;
- ::f( const_cast<value_type&>(*it) );
+ f( const_cast<value_type&>(*it) );
m_Map.erase( it );
return true;
}
iterator it = m_Map.find( key_type(val) );
if ( it == m_Map.end() )
return false;
- ::f( const_cast<value_type&>(*it), val );
+ f( const_cast<value_type&>(*it), val );
return true;
}
{
std::pair<iterator, bool> res = m_Map.insert( value_type( key, mapped_type() ) );
if ( res.second )
- ::f( *res.first );
+ f( *res.first );
return res.second;
}
std::pair<bool, bool> ensure( const Q& val, Func func )
{
std::pair<iterator, bool> res = m_Map.insert( value_type( val, mapped_type() ));
- ::func( res.second, *res.first );
+ func( res.second, *res.first );
return std::make_pair( true, res.second );
}
iterator it = m_Map.find( key_type(key) );
if ( it == m_Map.end() )
return false;
- ::f( *it );
+ f( *it );
m_Map.erase( it );
return true;
}
iterator it = m_Map.find( key_type(val) );
if ( it == m_Map.end() )
return false;
- ::f( *it, val );
+ f( *it, val );
return true;
}
{
std::pair<iterator, bool> res = m_Map.insert( value_type( key, mapped_type() ) );
if ( res.second )
- ::f( *res.first );
+ f( *res.first );
return res.second;
}
{
std::pair<iterator, bool> res = m_Set.insert( value_type(val) );
if ( res.second )
- ::f( const_cast<value_type&>(*res.first) );
+ f( const_cast<value_type&>(*res.first) );
return res.second;
}
{
std::pair<iterator, bool> res = m_Set.insert( value_type(val) );
if ( res.second )
- ::f( *res.first );
+ f( *res.first );
return res.second;
}
std::pair<bool, bool> ensure( const Q& val, Func func )
{
std::pair<iterator, bool> res = m_Set.insert( value_type(val) );
- ::func( res.second, *res.first, val );
+ func( res.second, *res.first, val );
return std::make_pair( true, res.second );
}
iterator it = m_Set.find( value_type(key) );
if ( it == m_Set.end() )
return false;
- ::f( *it );
+ f( *it );
m_Set.erase( it );
return true;
}
iterator it = m_Set.find( value_type(val) );
if ( it == m_Set.end() )
return false;
- ::f( *it, val );
+ f( *it, val );
return true;
}
{
std::pair<iterator, bool> res = m_Set.insert( value_type(val) );
if ( res.second )
- ::f( const_cast<value_type&>(*res.first) );
+ f( const_cast<value_type&>(*res.first) );
return res.second;
}
std::pair<bool, bool> ensure( const Q& val, Func func )
{
std::pair<iterator, bool> res = m_Set.insert( value_type(val) );
- ::func( res.second, const_cast<value_type&>(*res.first), val );
+ func( res.second, const_cast<value_type&>(*res.first), val );
return std::make_pair( true, res.second );
}
iterator it = m_Set.find( value_type(key) );
if ( it == m_Set.end() )
return false;
- ::f( const_cast<value_type&>(*it) );
+ f( const_cast<value_type&>(*it) );
m_Set.erase( it );
return true;
}
iterator it = m_Set.find( value_type(val) );
if ( it == m_Set.end() )
return false;
- ::f( const_cast<value_type&>(*it), val );
+ f( const_cast<value_type&>(*it), val );
return true;
}
};
template <typename Functor>
- struct functor_wrapper< boost::reference_wrapper<Functor> >
+ struct functor_wrapper< std::reference_wrapper<Functor> >
{
- boost::reference_wrapper<Functor> m_func;
+ std::reference_wrapper<Functor> m_func;
public:
- functor_wrapper( boost::reference_wrapper<Functor> f)
+ functor_wrapper( std::reference_wrapper<Functor> f)
: m_func(f)
{}
<ClInclude Include="..\..\..\cds\urcu\signal_threaded.h" />\r
<ClInclude Include="..\..\..\src\hzp_const.h" />\r
<ClInclude Include="..\..\..\cds\init.h" />\r
- <ClInclude Include="..\..\..\cds\ref.h" />\r
<ClInclude Include="..\..\..\cds\refcounter.h" />\r
<ClInclude Include="..\..\..\cds\version.h" />\r
<ClInclude Include="..\..\..\cds\details\aligned_allocator.h" />\r
<ClInclude Include="..\..\..\cds\init.h">\r
<Filter>Header Files\cds</Filter>\r
</ClInclude>\r
- <ClInclude Include="..\..\..\cds\ref.h">\r
- <Filter>Header Files\cds</Filter>\r
- </ClInclude>\r
<ClInclude Include="..\..\..\cds\refcounter.h">\r
<Filter>Header Files\cds</Filter>\r
</ClInclude>\r