Changeset 153
- Timestamp:
- 08/25/08 16:40:08 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/testUI.cpp
r151 r153 34 34 }; 35 35 36 const TypedUserInfo<bool>& TypedUserInfo<bool>::instance = BoolUI();36 template<> const TypedUserInfo<bool>& TypedUserInfo<bool>::instance = BoolUI(); 37 37 38 38 … … 60 60 }; 61 61 62 const TypedUserInfo<int>& TypedUserInfo<int>::instance = IntUI();62 template<> const TypedUserInfo<int>& TypedUserInfo<int>::instance = IntUI(); 63 63 64 64 … … 86 86 }; 87 87 88 const TypedUserInfo<double>& TypedUserInfo<double>::instance = DoubleUI(); 89 88 template<> const TypedUserInfo<double>& TypedUserInfo<double>::instance = DoubleUI(); 90 89 91 90 class StringUI: public ValuedUserInfo<string> … … 109 108 }; 110 109 111 const TypedUserInfo<string>& TypedUserInfo<string>::instance = StringUI();110 template<> const TypedUserInfo<string>& TypedUserInfo<string>::instance = StringUI(); 112 111 113 112 ////////////////////////////////////////////////////////////////////////////////////////////// … … 198 197 }; 199 198 200 const TypedUserInfo<Car>& TypedUserInfo<Car>::instance = CarUI( );199 template<> const TypedUserInfo<Car>& TypedUserInfo<Car>::instance = CarUI( ); 201 200 202 201 … … 232 231 }; 233 232 234 const TypedUserInfo<Bike>& TypedUserInfo<Bike>::instance = BikeUI( );233 template<> const TypedUserInfo<Bike>& TypedUserInfo<Bike>::instance = BikeUI( ); 235 234 236 235