Title / Description
Code //1. In getCol template <class DataType> public int ColumnTextParser::getCol(int id, vector<DataType>& array) { ... DataType value; StringToType(str, value); ... } //2. In somewhere else bool StringToType(const char* str, int32_t& data); bool StringToType(const char* str, uint32_t& data); bool StringToType(const char* str, float& data); bool StringToType(const char* str, bool& data);
Author
Highlight as C C++ CSS Clojure Delphi ERb Groovy (beta) HAML HTML JSON Java JavaScript PHP Plain text Python Ruby SQL XML YAML diff code