Changeset e9b5043 for src/Common


Ignore:
Timestamp:
Feb 3, 2023, 3:11:51 PM (16 months ago)
Author:
Andrew Beach <ajbeach@…>
Branches:
ADT, ast-experimental, master
Children:
21a2a7d
Parents:
2f61765
Message:

Added contains to some of our containers. Also changed some code to use the new method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/Common/ScopedMap.h

    r2f61765 re9b5043  
    181181                return c;
    182182        }
     183
     184        bool contains( const Key & key ) const {
     185                return find( key ) != cend();
     186        }
    183187};
    184188
Note: See TracChangeset for help on using the changeset viewer.