Changeset 722 for code/branches/FICN
- Timestamp:
- Dec 29, 2007, 3:51:58 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/FICN/src/misc/Convert.h
r721 r722 53 53 */ 54 54 template <typename T> 55 static bool Convert::ToString(std::string& output, T input)55 static bool ToString(std::string& output, T input) 56 56 { 57 57 std::ostringstream oss; … … 78 78 */ 79 79 template <typename T> 80 static bool Convert::ToString(std::string& output, T input, const std::string& fallbackString)80 static bool ToString(std::string& output, T input, const std::string& fallbackString) 81 81 { 82 82 if (Convert::ToString(output, input)) … … 99 99 */ 100 100 template <typename T> 101 static bool Convert::FromString(T& output, const std::string& input)101 static bool FromString(T& output, const std::string& input) 102 102 { 103 103 std::istringstream iss(input); … … 121 121 */ 122 122 template <typename T> 123 static bool Convert::FromString(T& output, const std::string& input, T fallbackValue)123 static bool FromString(T& output, const std::string& input, T fallbackValue) 124 124 { 125 125 if (Convert::FromString(output, input))
Note: See TracChangeset
for help on using the changeset viewer.