Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Sep 19, 2006, 5:00:10 PM (18 years ago)
Author:
bensch
Message:

new_class_id: much faster and nicer self-cleaning Factory

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/new_class_id/src/lib/lang/class_id.h

    r9757 r9762  
    4747  /** @param name the id to compare @returns false on match (match is same Name) @brief compares an ID with a ClassName */
    4848  bool operator!=(const std::string& name) const { return *_name != name; };
     49  /** @param classID: the Id to compare @returns true if this id is smaller than the classID's ID */
     50  bool operator<(const ClassID& classID) const { return *this->_id < *classID._id; };
    4951
    5052private:
Note: See TracChangeset for help on using the changeset viewer.