Created
September 26, 2015 09:34
-
-
Save kaskavalci/ea06a0dabc2dfae65495 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//## class MyConvert | |
class MyConvert { | |
//// Constructors and destructors //// | |
public : | |
MyConvert(); | |
~MyConvert(); | |
//// Operations //// | |
//## operation strtox(char*,char*) | |
template <typename T> inline static T strtox(char* in, char** end); | |
//## operation strtox(char*,char**) | |
template <> inline double strtox<double>(char* in, char** end) { | |
//#[ operation strtox(char*,char**) | |
return strtod(in, end); | |
//#] | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment