- Timestamp:
- Jan 17, 2016, 6:41:22 PM (8 years ago)
- Location:
- code/branches/cpp11_v3
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/cpp11_v3
- Property svn:mergeinfo changed
/code/branches/cpp11_v2 merged: 10996-11008,11010
- Property svn:mergeinfo changed
-
code/branches/cpp11_v3/src/libraries/core/command/Functor.h
r11054 r11068 176 176 { 177 177 public: 178 struct Type 179 { 180 /// Defines the type of a function (static or member) 181 enum Enum 182 { 183 Static, 184 Member 185 }; 178 /// Defines the type of a function (static or member) 179 enum class Type 180 { 181 Static, 182 Member 186 183 }; 187 184 … … 196 193 197 194 /// Returns the type of the function: static or member. 198 virtual Type ::EnumgetType() const = 0;195 virtual Type getType() const = 0; 199 196 /// Returns the number of parameters of the function. 200 197 virtual unsigned int getParamCount() const = 0; … … 262 259 263 260 // see Functor::getType() 264 virtual inline Functor::Type ::EnumgetType() const override261 virtual inline Functor::Type getType() const override 265 262 { return Functor::Type::Member; } 266 263 … … 339 336 340 337 // see Functor::getType() 341 virtual inline Functor::Type ::EnumgetType() const override338 virtual inline Functor::Type getType() const override 342 339 { return Functor::Type::Static; } 343 340
Note: See TracChangeset
for help on using the changeset viewer.