Ignore:
Timestamp:
Dec 1, 2010, 12:15:41 AM (12 years ago)
Author:
Peter
Message:

adding more types required to conform to 'Unique Sorted Associated Container'

File:
1 edited

Legend:

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

    r2355 r2356  
    6565
    6666  public:
     67    /// \brief pointer
     68    typedef typename Set_::pointer pointer;
     69    /// \brief reference
     70    typedef typename Set_::reference reference;
     71    /// \brief const_reference
     72    typedef typename Set_::const_reference const_reference;
     73    /// \brief size_type
     74    typedef typename Set_::size_type size_type;
     75    /// \brief difference_type
     76    typedef typename Set_::difference_type difference_type;
    6777    /// \brief iterator
    6878    typedef typename Set_::iterator iterator;
     
    94104     */
    95105    size_t count(const typename value_type::value_type& vt) const;
     106
     107    /**
     108       \return \c true if SegmentSet is empty
     109    */
     110    bool empty(void) const { return set_.empty(); }
    96111
    97112    /**
Note: See TracChangeset for help on using the changeset viewer.