18 if(std::map< _Key , _Tp >::size()==0)
return std::map< _Key , _Tp >::end();
20 if(i==std::map< _Key , _Tp >::end()) {
24 if(i==std::map< _Key , _Tp >::begin())
return i;
29 if( fabs(il->first - k) > fabs(i->first - k) )
return i;
33 if(std::map< _Key , _Tp >::size()==0)
return std::map< _Key , _Tp >::end();
34 iterator i=std::map< _Key , _Tp >::lower_bound(k);
35 if(i==std::map< _Key , _Tp >::end()) {
39 if(i==std::map< _Key , _Tp >::begin())
return i;
44 if( fabs(il->first - k) > fabs(i->first - k) )
return i;