Skip to content

Instantly share code, notes, and snippets.

@kaskavalci
Created September 26, 2015 09:34
Show Gist options
  • Save kaskavalci/ea06a0dabc2dfae65495 to your computer and use it in GitHub Desktop.
Save kaskavalci/ea06a0dabc2dfae65495 to your computer and use it in GitHub Desktop.
//## 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