Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r54331 - sandbox/itl/boost/itl
From: afojgo_at_[hidden]
Date: 2009-06-25 06:54:46


Author: jofaber
Date: 2009-06-25 06:54:45 EDT (Thu, 25 Jun 2009)
New Revision: 54331
URL: http://svn.boost.org/trac/boost/changeset/54331

Log:
Refactoring: Some inlining for interval_map. Stable {msvc-9.0 r+d, gcc-3.4}
Text files modified:
   sandbox/itl/boost/itl/interval_map.hpp | 16 +---------------
   1 files changed, 1 insertions(+), 15 deletions(-)

Modified: sandbox/itl/boost/itl/interval_map.hpp
==============================================================================
--- sandbox/itl/boost/itl/interval_map.hpp (original)
+++ sandbox/itl/boost/itl/interval_map.hpp 2009-06-25 06:54:45 EDT (Thu, 25 Jun 2009)
@@ -143,20 +143,6 @@
         iterator join_on_right(const iterator& some, iterator& next);
         iterator join_segments(iterator& some, const iterator& next){ return join_on_left(some, next); };//JODO ausbauen
 
- /*
- template<class Combiner>
- iterator fill_gap_join_left(const value_type&);
-
- template<class Combiner>
- iterator fill_gap_join_left(iterator& prior_, const value_type&);
-
- template<class Combiner>
- iterator fill_gap_join_both(const value_type&);
-
- template<class Combiner>
- iterator fill_gap_join_both(iterator& prior_, const value_type&);
- */
-
     iterator fill_join_left(const value_type&);
     iterator fill_join_both(const value_type&);
 
@@ -274,7 +260,7 @@
 
 template <typename DomainT, typename CodomainT, class Traits,
           ITL_COMPARE Compare, ITL_COMBINE Combine, ITL_SECTION Section, template<class,ITL_COMPARE>class Interval, ITL_ALLOC Alloc>
-bool interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc>
+inline bool interval_map<DomainT,CodomainT,Traits,Compare,Combine,Section,Interval,Alloc>
     ::join_right(iterator& it)
 {
     if(it == this->_map.end())


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk