equal
deleted
inserted
replaced
92 } |
92 } |
93 |
93 |
94 /** Assignment operator (from Tenum_t type) */ |
94 /** Assignment operator (from Tenum_t type) */ |
95 FORCEINLINE TinyEnumT& operator = (enum_type e) |
95 FORCEINLINE TinyEnumT& operator = (enum_type e) |
96 { |
96 { |
97 m_val = (storage_type)e; return *this; |
97 m_val = (storage_type)e; |
|
98 return *this; |
|
99 } |
|
100 |
|
101 /** Assignment operator (from Tenum_t type) */ |
|
102 FORCEINLINE TinyEnumT& operator = (uint u) |
|
103 { |
|
104 m_val = (storage_type)u; |
|
105 return *this; |
98 } |
106 } |
99 |
107 |
100 /** postfix ++ operator on tiny type */ |
108 /** postfix ++ operator on tiny type */ |
101 FORCEINLINE TinyEnumT operator ++ (int) |
109 FORCEINLINE TinyEnumT operator ++ (int) |
102 { |
110 { |