Changeset 478
- Timestamp:
- 08/05/09 15:18:02 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/user_info.h
r477 r478 288 288 289 289 //! This methods converts a Setting into a new templated array of type Array<T> 290 template<class T> static void from_setting ( T &variable_to_load, const Setting &element ) {290 template<class T> static void from_setting ( Array<T> &array_to_load, const Setting &element ) { 291 291 const SettingResolver link ( element ); 292 292 … … 305 305 //! At the moment, this is the only way how to compile the library without obtaining the compiler error c2665. 306 306 //! The exception can help to find the place where the template is misused and also to correct it. 307 template<class T> static void from_setting ( T & array_to_load, const Setting &element ) {307 template<class T> static void from_setting ( T &variable_to_load, const Setting &element ) { 308 308 throw UIException ( "from_setting is not implemented for this type", element ); 309 309 }