Subversion Repositories gelsvn

Rev

Rev 349 | Rev 382 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 349 Rev 373
Line 19... Line 19...
19
		template<> 
19
		template<> 
20
		inline int string_convert(const std::string& x){ 
20
		inline int string_convert(const std::string& x){ 
21
				return std::atoi(x.c_str());}
21
				return std::atoi(x.c_str());}
22
		template<> 
22
		template<> 
23
		inline float string_convert(const std::string& x){ 
23
		inline float string_convert(const std::string& x){ 
24
				return std::atof(x.c_str());}
24
				return static_cast<float>(std::atof(x.c_str()));}
25
		template<> 
25
		template<> 
26
		inline double string_convert(const std::string& x){ 
26
		inline double string_convert(const std::string& x){ 
27
				return std::atof(x.c_str());}
27
				return std::atof(x.c_str());}
28
		template<> 
28
		template<> 
29
		inline std::string string_convert(const std::string& x){ 
29
		inline std::string string_convert(const std::string& x){