comparison Plugin/Token.h @ 58:ad279c70c22d

added a new configuration 'StandardConfigurations'
author Alain Mazy <am@osimis.io>
date Wed, 09 Nov 2022 18:17:03 +0100
parents 914b8113fd46
children 1a13c4fbc9a1
comparison
equal deleted inserted replaced
57:55539d564f4f 58:ad279c70c22d
39 39
40 const std::string& GetKey() const 40 const std::string& GetKey() const
41 { 41 {
42 return key_; 42 return key_;
43 } 43 }
44
45 // required to use this class in std::set
46 bool operator< (const Token &right) const
47 {
48 if (type_ != right.type_)
49 {
50 return type_ < right.type_;
51 }
52 else
53 {
54 return key_ < right.key_ ;
55 }
56 }
44 }; 57 };
45 } 58 }