Ignore:
Timestamp:
Dec 4, 2010, 2:04:45 AM (12 years ago)
Author:
Peter
Message:

refs #640. adding a functor in SegmentTree? to tranlate a value_type to key_type.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/yat/utility/SegmentMap.h

    r2358 r2360  
    2525#include "Segment.h"
    2626#include "SegmentTree.h"
     27#include "stl_utility.h"
    2728
    2829#include <map>
     
    4344    : public SegmentTree<std::map<Segment<T, Compare>, Tp, 
    4445                                  SegmentCompare<T, Compare> >,
    45                          Compare>
     46                   Compare,
     47                   PairFirst<const std::pair<const Segment<T, Compare>, Tp> > >
    4648  {
    4749  public:
Note: See TracChangeset for help on using the changeset viewer.