Changeset 3280 for code/trunk/src/util/Convert.h
- Timestamp:
- Jul 12, 2009, 11:58:01 PM (16 years ago)
- Location:
- code/trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/trunk
- Property svn:mergeinfo changed
/code/branches/core4 (added) merged: 3235-3237,3245-3250,3253-3254,3260-3261,3265,3270
- Property svn:mergeinfo changed
-
code/trunk/src/util/Convert.h
r3234 r3280 43 43 44 44 #include "Debug.h" 45 #include "String .h"45 #include "StringUtils.h" 46 46 #include "TemplateUtils.h" 47 47 … … 316 316 } 317 317 318 // convert to string Shortcut319 template <class FromType>320 FORCEINLINE std::string convertToString(FromType value)321 {322 return getConvertedValue<FromType, std::string>(value);323 }324 325 // convert from string Shortcut326 template <class ToType>327 FORCEINLINE ToType convertFromString(std::string str)328 {329 return getConvertedValue<std::string, ToType>(str);330 }331 332 318 //////////////////////////////// 333 319 // Special string conversions //
Note: See TracChangeset
for help on using the changeset viewer.